title: Element not inserting correctly in HTML code
body: <p>I have an issue that I never seen before. It is basic HTML though, I can't wrap my head around why it doesn't work.</p>
  <p>Here is the code in my editor:</p>
  <pre><code>&lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;td&gt;ID&lt;/td&gt;
              &lt;td&gt;Prénom&lt;/td&gt;
              &lt;td&gt;Nom&lt;/td&gt;
              &lt;td&gt;Email&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
  
      &lt;tbody&gt;
      &lt;!-- $allUsers is an array with a length of 13 --&gt;
      &lt;?php foreach($allUsers as $user):?&gt;
          &lt;tr&gt;
              &lt;td class=&quot;id-row&quot;&gt;&lt;?= $user['id']; ?&gt;&lt;/td&gt;
              &lt;div class=&quot;infos&quot;&gt;
                  &lt;td class=&quot;fn-row&quot;&gt;&lt;?= $user['firstname']; ?&gt;&lt;/td&gt;
                  &lt;td class=&quot;ln-row&quot;&gt;&lt;?= $user['lastname']; ?&gt;&lt;/td&gt;
                  &lt;td class=&quot;mail-row&quot;&gt;&lt;?= $auser['email']; ?&gt;&lt;/td&gt;
              &lt;/div&gt;
              &lt;td class=&quot;link-row&quot;&gt;&lt;a href=&quot;lireUser?id=&lt;?= $user['id']?&gt;&quot;&gt;Lire&lt;/a&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;?php endforeach; ?&gt;
      &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  <p>And here is what comes out in the final page:
  As expected, there are 13 occurences of the <code>.infos</code> div</p>
  <p><img src="https://i.stack.imgur.com/LtqHp.png" alt="" /></p>
  <p>I really don't see why this happens... The <code>&lt;div&gt;</code> should encapsulate the three <code>&lt;tr&gt;</code> but, as seen in the picture, they all get generated empty at the start, before the table</p>