-
-
Notifications
You must be signed in to change notification settings - Fork 224
-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
List Block and HTML Block interaction issue: not handling Type-7 HTML at end properly #213
Comments
I think you're right about this case. commonmark.js and cmark both have this problem. |
jgm
added a commit
to commonmark/cmark
that referenced
this issue
Feb 7, 2021
taku0
added a commit
to taku0/cmark-el
that referenced
this issue
Apr 3, 2021
They can't interrupt paragraphs (even with laziness). commonmark/commonmark.js#213 commonmark/commonmark.js@8f1a23f Author: John MacFarlane <jgm@berkeley.edu> Date: Sat Feb 6 23:03:27 2021 -0800
robinst
added a commit
to commonmark/commonmark-java
that referenced
this issue
Jun 29, 2021
They were already special cased to not interrupt normal paragraphs. This fixes handling of lazy paragraphs, see commonmark/commonmark.js#213 Add updated regression files too.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Given the following Markdown:
this implementation returns:
Based on my reading of the script, documented here, the last three lines should be:
As the
</script>
tag on line 4 is not a valid HTML Block start (type 7 cannot break paragraphs), it should be considered as normal text, only to be further realized as Raw HTML when processing the inline.The text was updated successfully, but these errors were encountered: