From f5749aa30bf39cc56f6fe98ce2e773e9338f5d04 Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Tue, 8 Apr 2008 23:25:54 +0000 Subject: [PATCH] For -emit-html, use the Rewriter to expand tabs. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49409 91177308-0d34-0410-b5e6-96231b3b80d8 --- Driver/HTMLPrint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Driver/HTMLPrint.cpp b/Driver/HTMLPrint.cpp index b30f1e80ef..ef20395530 100644 --- a/Driver/HTMLPrint.cpp +++ b/Driver/HTMLPrint.cpp @@ -49,7 +49,7 @@ void HTMLPrinter::Initialize(ASTContext &context) { HTMLPrinter::~HTMLPrinter() { unsigned FileID = R.getSourceMgr().getMainFileID(); - html::EscapeText(R, FileID); + html::EscapeText(R, FileID, false, true); html::AddLineNumbers(R, FileID); html::AddHeaderFooterInternalBuiltinCSS(R, FileID); -- 2.40.0