do not leave spare carriage-return characters in node comments

This commit is contained in:
ryanfleury committed 2021-02-09 18:56:29 -07:00
1 parent aeb3f6e224
commit 192b43770b
1 file changed
+1 -1
+1 -1
View File
@@ -1131,7 +1131,7 @@ MD_Parse_LexNext(MD_ParseCtx *ctx)
at += 2;
token.kind = MD_TokenKind_Comment;
MD_TokenizerScan(*at != '\n');
MD_TokenizerScan(*at != '\n' && *at != '\r');
}
else if (at[1] == '*')
{