html-to-md icon indicating copy to clipboard operation
html-to-md copied to clipboard

Tables contained inside of lists are not parsed correctly

Open adaboese opened this issue 2 years ago • 1 comments

Input:

<ul>
  <li>
    <p>foo</p>
    <table>
      <thead>
        <tr>
          <th>foo</th>
          <th>bar</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>baz</td>
          <td>qux</td>
        </tr>
      </tbody>
    </table>
  </li>
</ul>

Actual:

* foo

|foo|bar|
|---|---|
|baz|qux|

Expected:

* foo
  |foo|bar|
  |---|---|
  |baz|qux|

adaboese avatar Dec 28 '23 22:12 adaboese

@adaboese Thanks the report, will solve it recently

stonehank avatar Jan 05 '24 03:01 stonehank