aboutsummaryrefslogtreecommitdiff
path: root/Driver/HTMLPrint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Driver/HTMLPrint.cpp')
-rw-r--r--Driver/HTMLPrint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Driver/HTMLPrint.cpp b/Driver/HTMLPrint.cpp
index 54678dea3e..ff04b0e609 100644
--- a/Driver/HTMLPrint.cpp
+++ b/Driver/HTMLPrint.cpp
@@ -55,7 +55,6 @@ HTMLPrinter::~HTMLPrinter() {
// Format the file.
unsigned FileID = R.getSourceMgr().getMainFileID();
- html::EscapeText(R, FileID, false, true);
html::AddLineNumbers(R, FileID);
html::AddHeaderFooterInternalBuiltinCSS(R, FileID);
@@ -67,6 +66,7 @@ HTMLPrinter::~HTMLPrinter() {
html::SyntaxHighlight(R, FileID, *PP);
html::HighlightMacros(R, FileID, *PP);
}
+ html::EscapeText(R, FileID, false, true);
// Open the output.