From ea50bd30e7678771e37f4a0c157c712574ebded6 Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Tue, 10 Feb 2015 15:32:05 +0100 Subject: [PATCH] add comment only for potential fix of Issue #8 --- src/pprint.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/pprint.c b/src/pprint.c index 2535e46..cdbd257 100644 --- a/src/pprint.c +++ b/src/pprint.c @@ -1985,6 +1985,10 @@ void TY_(PPrintTree)( TidyDocImpl* doc, uint mode, uint indent, Node *node ) else if ( TY_(nodeCMIsEmpty)(node) || (node->type == StartEndTag && !xhtml) ) { + /* Issue #8 - flush to new line? + maybe use if ( TY_(nodeHasCM)(node, CM_BLOCK) ) instead + or remove the CM_INLINE from the tag + */ if ( ! TY_(nodeHasCM)(node, CM_INLINE) ) PCondFlushLine( doc, indent );