Ignore:
Timestamp:
2003-01-13T20:09:15+13:00 (21 years ago)
Author:
jrm21
Message:

tidied up to make sure all textout << "string" commands go through the
outconverter so we have the right charset for the output.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/browsetools.cpp

    r2805 r3666  
    7474    int count = 0;
    7575    while (here != end) {
    76       if ((count != 0) && ((count % 2) == 0)) textout << "<br>\n";
     76      if ((count != 0) && ((count % 2) == 0)) textout<< outconvert << "<br>\n";
    7777      textout << outconvert << disp << *here;
    7878      count ++;
     
    607607        formatinfo, collectproto, disp, outconvert, textout, logout);
    608608
    609     textout << "</table></td></tr></table>\n";
     609    textout << outconvert << "</table></td></tr></table>\n";
    610610}
    611611
     
    764764  // if we're inside a book
    765765  if ((!fulltoc) && (!args["d"].empty())) {
    766     textout << "<center>\n";
     766    textout << outconvert << "<center>\n";
    767767    textout << outconvert << disp << "<p><table width=_pagewidth_ cellpadding=0 cellspacing=0><tr>\n";
    768     textout << "<td valign=top align=left";
    769     if (formatinfo.DocumentContents) textout << " width=200>\n";
    770     else textout << " width=100%>\n";
     768    textout << outconvert << "<td valign=top align=left";
     769    if (formatinfo.DocumentContents) textout << outconvert << " width=200>\n";
     770    else textout << outconvert << " width=\"100%\">\n";
    771771    if (formatinfo.DocumentImages)
    772772      output_cover_image (args, collectproto, disp, outconvert, textout, logout);
     
    777777               outconvert, textout, logout);
    778778    }
    779     textout << "</td><td valign=top>\n"; 
     779    textout << outconvert << "</td><td valign=\"top\">\n"; 
    780780    havecontrols = true;
    781781  }
     
    800800  }
    801801
    802   if (havecontrols) textout << "</td></tr></table></center>\n";
     802  if (havecontrols) textout << outconvert << "</td></tr></table></center>\n";
    803803
    804804  //if there is a format specified in the config file then
Note: See TracChangeset for help on using the changeset viewer.