git-svn-id: svn://ultimatepp.org/upp/trunk@11522 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-12-03 09:03:43 +00:00
parent e678c4ff56
commit da9c834081
3 changed files with 2 additions and 4 deletions

View file

@ -54,11 +54,12 @@ String CppAsQtf(const String& str)
if(*s == '\n')
qtf << '&';
else
if((byte)*s >= 32)
if((byte)*s >= 32) {
if(strchr("!+-*^/%~&|=[]:?<>.#", *s))
qtf << "[@B `" << *s << "]";
else
qtf << '`' << *s;
}
s++;
}
}

View file

@ -78,7 +78,6 @@ struct GatherLinkIterator : RichText::Iterator {
LLOG("GatherLink " << l);
if(l[0] == ':') {
int q = reflink.Find(l);
int w = q;
if(q < 0)
q = reflink.Find(l + "::class");
if(q < 0)

View file

@ -569,7 +569,6 @@ void ExportPage(int i)
for (int iHtml = 0; iHtml < htmlrep.GetCount(); ++iHtml)
page.Replace(String("QTFHTMLTEXT") + FormatInt(iHtml), htmlrep[iHtml]);
Color paper = SWhite;
if(path == "topic://uppweb/www/download_en-us")
page << LoadFile(GetRcFile("adsense3.txt"));
/* if(path == "topic://uppweb/www/index$en-us") {
@ -1041,7 +1040,6 @@ CONSOLE_APP_MAIN
labels.Add(l, lbl);
}
Date d = GetSysDate();
lastUpdate = HtmlItalic() / HtmlArial(8) / HtmlFontColor(Gray()) /
(String().Cat() << "Last update " << GetSysDate());