Skip to content

Ignore html comment when parsing blockquotes

Brett Walker requested to merge bw-fix-blockquote into master

What does this MR do and why?

Related to #390290 (closed)

When an HTML comment precedes a multiline blockquote, the parsing gets messed up. For example,

<!-- html comment -->

>>>
something
>>>

<h1>
test
</h1>

renders as

image

How to set up and validate locally

Copy/paste the above markdown into a comment box, and preview/save to check that it renders correctly.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Brett Walker

Merge request reports