You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<table><tbody><tr><th>Command Name</th><th>Description</th></tr><tr><td>insert</td><td>Add chalk marks to artifacts</td></tr><!-- skipping some rows --><tr><td>docgen</td><td>Generate technical documentation</td></tr></tbody></table>
Observed behavior
HTML tables are rendered incorrectly, with:
an extra <td> and </td> around every cell
no <tr> or </tr> anywhere
<caption> at the bottom, where it is invalid (it must be the first child of <table>)
like:
<table><tbody><td><th>Command Name</th></td><td><th>Description</th></td><td><td>insert</td></td><td><td>Add chalk marks to artifacts</td></td><!-- skipping some "rows" --><td><td>docgen</td></td><td><td>Generate technical documentation</td></td></tbody><caption></caption></table>
Steps to reproduce
Run
chalk docgen
with chalk 0.3.1 or b8a6943.Expected behavior
HTML tables are rendered correctly, like:
Observed behavior
HTML tables are rendered incorrectly, with:
<td>
and</td>
around every cell<tr>
or</tr>
anywhere<caption>
at the bottom, where it is invalid (it must be the first child of<table>
)like:
This is blocking https://github.com/crashappsec/marketing-site/pull/192.
Discussion
It looks the bug is in nimutils
rope_htmlrender.nim
here.I believe this is independent of #167.
The text was updated successfully, but these errors were encountered: