Issue #126 - partial fix for indenting style

This commit is contained in:
Geoff McLane 2015-02-01 18:35:28 +01:00
parent 8497326dc3
commit 63c6671f59

View file

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