replace form feeds with an <hr> tag.

llvm-svn: 49975
This commit is contained in:
Chris Lattner 2008-04-19 23:56:30 +00:00
parent 1a44f7fce9
commit 1e517a78a8
1 changed files with 5 additions and 1 deletions

View File

@ -122,7 +122,11 @@ void html::EscapeText(Rewriter& R, unsigned FileID,
RB.ReplaceText(FilePos, 1, "&nbsp;", 6);
++ColNo;
break;
case '\f':
RB.ReplaceText(FilePos, 1, "<hr>", 4);
ColNo = 0;
break;
case '\t': {
if (!ReplaceTabs)
break;