do not leave spare carriage-return characters in node comments

This commit is contained in:
ryanfleury
2021-02-09 18:56:04 -07:00
parent aeb3f6e224
commit 192b43770b
+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] == '*')
{