Hi there,

No bug here -- it's how HTML5 works.

The <p> tag is automatically closed if it has <pre> (and quite a few other tags) inside it. In other words -- you CANNOT have <pre> inside <p>.

Therefore the actual code is shown below, which makes the highlighted on screenshot </p> invalid/non-matching.

<p></p>
<pre></pre>
</p>

RTM:

1

请先登录再写评论。