title: Html input gets moved into label
body: <p>I have this code, which is a simple form with a text input, a checkbox and a submit button.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form method='post'&gt;
    &lt;input type='text' name='email' id='email'&gt;&lt;/input&gt;
    &lt;label class='container'&gt;Foo bar
        &lt;input type='checkbox' name='newsletter' id='newsletter'&gt;
        &lt;span class='checkmark'&gt;&lt;/span&gt;
       &lt;/label&gt;
    &lt;input type='submit' name='submitMail' id='submitMail' value='OK'&gt;
  &lt;/form&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>But when it gets interpreted, it get like this (the second input is moved into the label):</p>
  
  <pre><code>&lt;form method='post'&gt;
      &lt;input type='text' name='email' id='email'&gt;&lt;/input&gt;
      &lt;label class='container'&gt;Foo bar
          &lt;input type='checkbox' name='newsletter' id='newsletter'&gt;
          &lt;span class='checkmark'&gt;&lt;/span&gt;
          &lt;input type='submit' name='submitMail' id='submitMail' value='OK'&gt;
      &lt;/label&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>How come? And how can I fix this?</p>
  
  <p>Thanks in advance</p>
  
  <p><strong>EDIT</strong>: simple typo error. "Foo bar" zone contained generated text with an unclosed <code>&lt;p&gt;</code> and I guess the browser was simply trying to make sense out of this.</p>