Skip to content
This repository was archived by the owner on May 12, 2026. It is now read-only.
This repository was archived by the owner on May 12, 2026. It is now read-only.

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

Description

@d4nyll

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Issue concerns a bug.funded on issuehunt 💵Issue has received funding that will be rewarded to the contributor solving this issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions