Oops, that fix should be after a potential new line in head
This commit is contained in:
parent
813f1c8a13
commit
9fb90f55d4
|
@ -1775,11 +1775,11 @@ void PPrintScriptStyle( TidyDocImpl* doc, uint mode, uint indent, Node *node )
|
||||||
int contentIndent = -1;
|
int contentIndent = -1;
|
||||||
Bool xhtmlOut = cfgBool( doc, TidyXhtmlOut );
|
Bool xhtmlOut = cfgBool( doc, TidyXhtmlOut );
|
||||||
|
|
||||||
PCondFlushLine( doc, indent ); /* Issue #56 - long oustanding bug - flush any existing closing tag */
|
|
||||||
|
|
||||||
if ( InsideHead(doc, node) )
|
if ( InsideHead(doc, node) )
|
||||||
TY_(PFlushLine)( doc, indent );
|
TY_(PFlushLine)( doc, indent );
|
||||||
|
|
||||||
|
PCondFlushLine( doc, indent ); /* Issue #56 - long oustanding bug - flush any existing closing tag */
|
||||||
|
|
||||||
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 */
|
||||||
|
|
Loading…
Reference in a new issue