Issue #56 - long outstanding bug on script tag
Added a PCondFlushLine before emitting the script tag Certainly looks better, but need to check for any regression
This commit is contained in:
parent
f1297f718c
commit
813f1c8a13
|
@ -1775,6 +1775,8 @@ 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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue