diff --git a/src/pprint.c b/src/pprint.c index bdbd3b1..3ce82df 100644 --- a/src/pprint.c +++ b/src/pprint.c @@ -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 */