-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
violation of GFM example #287 #1591
Comments
Thanks for reporting! This is a known issue as seen in the test suite here (notice the shouldFail flag): marked/test/specs/gfm/commonmark.0.29.json Line 2238 in a42413d
Would you like to submit a PR to fix it? |
similar to #1503 |
This is the regular expression, as i understand it, that is not giving enough text back. Line 17 in 7b3036f
i dont know what exactly needs to happen in order for it to do that, augment it with the paragraph recognizer text? Here is the actual hyper text markup it is outputting: <ul><li>foo<ul><li>bar<ul><li>baz</li></ul></li></ul></li></ul>
<pre><code> bim</code></pre> and what i managed to get it to was |
heres my attempt at breaking down what the regex does:
maybe |
|
This will be fixed by #2112 |
Describe the bug
I couldn't find setings in the demo of marked which would give the expected by GFM specification behavior for the example #287
To Reproduce
It is best to just use the link above.
I duplicate it here though too:
should look like this:
baz
bim
While marked behaves like this
Expected behavior
bim
should be just another paragraph in the last list item and not a code blockThe text was updated successfully, but these errors were encountered: