Fix #158 - remove inserted newlines in pre

This commit is contained in:
Cameron Moy 2015-07-13 16:31:52 -04:00
parent 97c7065177
commit d50391a984
1 changed files with 0 additions and 2 deletions

View File

@ -2162,14 +2162,12 @@ void TY_(PPrintTree)( TidyDocImpl* doc, uint mode, uint indent, Node *node )
PPrintTag( doc, mode, indent, node );
indent = 0;
TY_(PFlushLine)( doc, indent );
for ( content = node->content; content; content = content->next )
{
TY_(PPrintTree)( doc, (mode | PREFORMATTED | NOWRAP),
indent, content );
}
PCondFlushLine( doc, indent );
indent = indprev;
PPrintEndTag( doc, mode, indent, node );