File tree 1 file changed +7
-4
lines changed
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 )
2701
2701
}
2702
2702
2703
2703
/*
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
2706
2706
*/
2707
- TY_ (Report )(doc , NULL , NULL , MALFORMED_COMMENT_DROPPING );
2708
2707
}
2709
2708
else if (c == 'd' || c == 'D' )
2710
2709
{
@@ -2777,7 +2776,11 @@ static Node* GetTokenFromStream( TidyDocImpl* doc, GetTokenMode mode )
2777
2776
}
2778
2777
2779
2778
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 */
2781
2784
2782
2785
/* else swallow characters up to and including next '>' */
2783
2786
while ((c = TY_ (ReadChar )(doc -> docIn )) != '>' )
You can’t perform that action at this time.
0 commit comments