File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -2701,10 +2701,9 @@ static Node* GetTokenFromStream( TidyDocImpl* doc, GetTokenMode mode )
27012701 }
27022702
27032703 /*
2704- We only print this message if there's a missing
2705- starting hyphen; this comment will be dropped.
2704+ TY_(Report)(doc, NULL, NULL, MALFORMED_COMMENT_DROPPING );
2705+ Warning now done later - see issue #487
27062706 */
2707- TY_ (Report )(doc , NULL , NULL , MALFORMED_COMMENT_DROPPING );
27082707 }
27092708 else if (c == 'd' || c == 'D' )
27102709 {
@@ -2777,7 +2776,11 @@ static Node* GetTokenFromStream( TidyDocImpl* doc, GetTokenMode mode )
27772776 }
27782777
27792778
2780- TY_ (Report )(doc , NULL , NULL , MALFORMED_COMMENT_DROPPING ); /* Is. #487 */
2779+ /*
2780+ We only print this message if there's a missing
2781+ starting hyphen; this comment will be dropped.
2782+ */
2783+ TY_ (Report )(doc , NULL , NULL , MALFORMED_COMMENT_DROPPING ); /* Is. #487 */
27812784
27822785 /* else swallow characters up to and including next '>' */
27832786 while ((c = TY_ (ReadChar )(doc -> docIn )) != '>' )
You can’t perform that action at this time.
0 commit comments