Is #697 - Add NOWRAP to print of pre tag

This commit is contained in:
Geoff McLane 2018-03-20 19:52:35 +01:00
parent 0c182bbfa1
commit e36df3b4cd

View file

@ -2143,7 +2143,8 @@ void TY_(PPrintTree)( TidyDocImpl* doc, uint mode, uint indent, Node *node )
TY_(PFlushLineSmart)( doc, indent ); TY_(PFlushLineSmart)( doc, indent );
} }
PPrintTag( doc, mode, indent, node ); /* add <pre> or <textarea> tag */ /* Issue #697 - Add NOWRAP to the mode */
PPrintTag( doc, (mode | NOWRAP), indent, node ); /* add <pre> or <textarea> tag */
indent = 0; indent = 0;
/* @camoy Fix #158 - remove inserted newlines in pre - TY_(PFlushLineSmart)( doc, indent ); */ /* @camoy Fix #158 - remove inserted newlines in pre - TY_(PFlushLineSmart)( doc, indent ); */