From b6bcf0408c035af3da2ff68c08e37e848c45e62e Mon Sep 17 00:00:00 2001 From: Nokome Bentley Date: Mon, 13 Jul 2015 15:49:07 +1200 Subject: [PATCH] Applies "smart" new lines to start of script like tags --- src/pprint.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/pprint.c b/src/pprint.c index a8d86e1..1c5c6ee 100644 --- a/src/pprint.c +++ b/src/pprint.c @@ -1931,9 +1931,7 @@ void PPrintScriptStyle( TidyDocImpl* doc, uint mode, uint indent, Node *node ) PPrintTag( doc, mode, indent, node ); - /* use zero indent here, see http://tidy.sf.net/bug/729972 - WHY??? TY_(PFlushLine)(doc, 0); */ - TY_(PFlushLine)(doc, indent); + TY_(PFlushLineSmart)(doc, indent); if ( xhtmlOut && node->content != NULL ) {