Merge pull request #229 from camoy/master

Fix #158 - remove inserted newlines in pre

It seems this does fix this specific issue... thanks...

See #228 for some other comments on this...
This commit is contained in:
Geoff McLane 2015-07-14 11:24:59 +02:00
commit 2c886155d0
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 );