BoostIO/Boostnote

Do you want to work on this issue?

You can request for a bounty in order to promote it!


2 active bounty requests

$40.00$10.00
Solve someone else's bounty request by clicking on it and completing the funding to earn additional credits

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

d4nyll posted onGitHub

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

@boostio funded this issue with $10. Visit this issue on Issuehunt

posted by IssueHuntBot over 6 years ago

@daiyam has started working. Visit this issue on Issuehunt

posted by IssueHuntBot over 6 years ago

@daiyam has stopped working. Visit this issue on Issuehunt

posted by IssueHuntBot over 6 years ago

The bug is due to CommonMark (HTML-Block condition 6) which markdown-it is following at the letter. remark doesn't suffer from this issue. So it should be fixed when #1563 is done.

posted by daiyam over 6 years ago

Fund this Issue

$10.00
Funded
Only logged in users can fund an issue

Pull requests

Recent activities

boostio funded 10.00 for BoostIo/Boostnote# 2011
over 6 years ago