HTML Table does not render if there's blank line inside markup

Author: d4nyllCreated May 30, 2018Updated May 11, 2026
Labelsbug :bug:funded on issuehunt :dollar:

Current behavior

Given the following input:

<table>
  <thead>
    <tr>
      <th>Header 1</th>
      <th>Header 2</th>
      <th>Header 3</th>
    </tr>
  </thead>
  
  <tbody>
    <tr>
      <td>Field 1</td>
      <td>Field 2</td>
      <td>Field 3</td>
    </tr>
  </tbody>
</table>

<table>
  <thead>
    <tr>
      <th>Header 1</th>
      <th>Header 2</th>
      <th>Header 3</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>Field 1</td>
      <td>Field 2</td>
      <td>Field 3</td>
    </tr>
  </tbody>
</table>

I am getting the following preview:

screenshot from 2018-05-30 09-52-45

Only the second table renders properly. The first table does not render properly.

Expected behavior

Both tables to render correctly.

Steps to reproduce

  1. Create a new Markdown Note
  2. Paste the above markup in the editor

Environment

  • Version : 0.11.4
  • OS Version and name : Ubuntu 17.10

Source: BoostIO/BoostNote-Legacy