Inline html tags followed by a newline break rich text rendering #133
Labels
bug
Something isn't working
commonmark
Relates to commonmark round-tripping or syntax
html
Issue with html parsing or rendering
Milestone
Describe the bug
Reported on MSE.
When inline html tags appear on their own line, rich text mode parses the result incorrectly.
https://meta.stackexchange.com/q/379037/395497
To Reproduce
Expected behavior
At the very least, the opening paragraph and the text between the tags should be appearing. The tags should either be:
Additional context
This looks like an issue in the way we're parsing inline html tokens. The markdown-it parser demo parses the tokens as:
while we're parsing them as:
The text was updated successfully, but these errors were encountered: