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:
commit
2c886155d0
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue