Closed step- closed 5 months ago
Ohh yes, <textarea>
was added in some later spec revision and clearly it has been added only into the opening condition check. I'll reorg it so that md_is_html_block_end_condition()
reuses the same data structure to avoid such inconsistencies if that happens again.
Excellent fix, verified on my test suite. Thank you.
Consider the following test subject
The HTML textarea block should be closed and "baz" should be rendered as a paragraph.
cmark output:
md2html output:
which, I think, indicates that the HTML block was still open when baz was parsed.
I don't need a fix. I just want to record this issue.