Applies "smart" new lines to start of script like tags

This commit is contained in:
Nokome Bentley 2015-07-13 15:49:07 +12:00
parent f6979787d1
commit b6bcf0408c

View file

@ -1931,9 +1931,7 @@ void PPrintScriptStyle( TidyDocImpl* doc, uint mode, uint indent, Node *node )
PPrintTag( doc, mode, indent, node );
/* use zero indent here, see http://tidy.sf.net/bug/729972
WHY??? TY_(PFlushLine)(doc, 0); */
TY_(PFlushLine)(doc, indent);
TY_(PFlushLineSmart)(doc, indent);
if ( xhtmlOut && node->content != NULL )
{