Oops, that fix should be after a potential new line in head

This commit is contained in:
Geoff McLane 2015-01-26 12:23:41 +01:00
parent 813f1c8a13
commit 9fb90f55d4

View file

@ -1775,11 +1775,11 @@ void PPrintScriptStyle( TidyDocImpl* doc, uint mode, uint indent, Node *node )
int contentIndent = -1;
Bool xhtmlOut = cfgBool( doc, TidyXhtmlOut );
PCondFlushLine( doc, indent ); /* Issue #56 - long oustanding bug - flush any existing closing tag */
if ( InsideHead(doc, node) )
TY_(PFlushLine)( doc, indent );
PCondFlushLine( doc, indent ); /* Issue #56 - long oustanding bug - flush any existing closing tag */
PPrintTag( doc, mode, indent, node );
/* use zero indent here, see http://tidy.sf.net/bug/729972 */