https://www.94cb.com/t/5681
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:
Please sign in to leave a comment.
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.
RTM: