-
-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pathological input: Unclosed inline links (another) #218
Comments
Given that the kind of link destination enclosed in |
Looks like it's a valid bug; this is on the latest github/cmark which has the fix for #214 in:
|
There's no rejection of the link dest in |
There's a regression test which expects this to work, actually: https://github.com/jgm/cmark/blob/88c8ad11b687c756146d27d31b5a30f3cf13a75e/test/regression.txt#L77-L85 @jgm, any thoughts on relaxing this? |
The regression test was added in response to #193. |
Looking at this more closely, I think I my fix for the bug in #193 was wrong. |
Anything that fixes this should add the case to the pathological tests in the test suite. |
MD4C is immune to the bug:
But Comrak is vulnerable:
And pulldown-cmark:
|
This seems to be fixed, and there is already a pathological test for this. |
This is similar to #214 but with input generated by this:
Current master head (88c8ad1):
Again 0.27.1 was not affected:
cc @kivikakk
The text was updated successfully, but these errors were encountered: