[cfe-commits] r48525 - /cfe/trunk/lib/Rewrite/HTMLRewrite.cpp
Ted Kremenek
kremenek at apple.com
Tue Mar 18 18:44:27 PDT 2008
Author: kremenek
Date: Tue Mar 18 20:44:27 2008
New Revision: 48525
URL: http://llvm.org/viewvc/llvm-project?rev=48525&view=rev
Log:
Change "style" to "class" in HTML output.
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=48525&r1=48524&r2=48525&view=diff
==============================================================================
--- cfe/trunk/lib/Rewrite/HTMLRewrite.cpp (original)
+++ cfe/trunk/lib/Rewrite/HTMLRewrite.cpp Tue Mar 18 20:44:27 2008
@@ -52,12 +52,12 @@
// Surround the line with a span tag.
R.InsertTextBefore(E, "</span>", 7);
- R.InsertTextBefore(B, "<span style=lines>", 18);
+ R.InsertTextBefore(B, "<span class=lines>", 18);
// Insert a span tag for the line number.
std::ostringstream os;
- os << "<span style=nums>" << LineNo << "</span>";
+ os << "<span class=nums>" << LineNo << "</span>";
R.InsertTextBefore(B, os.str().c_str(), os.str().size());
}
More information about the cfe-commits
mailing list