title: Element p not allowed as child of element h2 in this context
body: <p>My HTML code is</p>
  
  <pre><code>&lt;h2&gt;&lt;p&gt;&lt;strong&gt;My text&lt;/strong&gt;&lt;/p&gt;&lt;/h2&gt;
  </code></pre>
  
  <p>This throws the error <code>Element p not allowed as child of element h2 in this context. (Suppressing further errors from this subtree.)</code></p>
  
  <p>I've tried multiple cominations but all seem to be throwing an error. What would be the correct way to do this?</p>