[cfe-commits] r48889 - /cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
Ted Kremenek
kremenek at apple.com
Thu Mar 27 10:28:58 PDT 2008
Author: kremenek
Date: Thu Mar 27 12:28:58 2008
New Revision: 48889
URL: http://llvm.org/viewvc/llvm-project?rev=48889&view=rev
Log:
Minor CSS tweaking (smaller h1 tags).
Bug fix in EscapeText (for std::string) where spaces were not properly emitted.
Modified:
cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
Modified: cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Rewrite/HTMLRewrite.cpp?rev=48889&r1=48888&r2=48889&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/HTMLRewrite.cpp (original)
+++ cfe/trunk/lib/Rewrite/HTMLRewrite.cpp Thu Mar 27 12:28:58 2008
@@ -61,6 +61,7 @@
case ' ':
if (EscapeSpaces) os << " ";
+ else os << ' ';
break;
case '<': os << "<"; break;
@@ -164,7 +165,8 @@
os << "<html>\n<head>\n"
<< "<style type=\"text/css\">\n"
<< " body { color:#000000; background-color:#ffffff }\n"
- << " body { font-family:Helvetica, sans-serif }\n"
+ << " body { font-family:Helvetica, sans-serif; font-size:10pt }\n"
+ << " h1 { font-size:12pt }\n"
<< " .code { border-spacing:0px; width:100%; }\n"
<< " .code { font-family: \"Andale Mono\", fixed; font-size:10pt }\n"
<< " .code { line-height: 1.2em }\n"
More information about the cfe-commits
mailing list