We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Table rendering changed after version 0.15.2.
0.15.2
For table (note spaces on the left of the table):
| Col 1 | Col 2 | Col 3 | |-------|-------|-------| | A1 | B1 | C1 |
With version 0.15.2 I get expected :
<table> <thead> <tr> <th>Col 1</th> <th>Col 2</th> <th>Col 3</th> </tr> </thead> <tbody> <tr> <td>A1</td> <td>B1</td> <td>C1</td> </tr> </tbody> </table>
But with versions 0.16.1 and 0.17.0 I get a table with first column empty and last column missing:
0.16.1
0.17.0
<table> <thead> <tr> <th>Col 1</th> <th>Col 2</th> <th>Col 3</th> </tr> </thead> <tbody> <tr> <td></td> <td>A1</td> <td>B1</td> </tr> </tbody> </table>
Without spaces on the left of the Markdown table, the HTML is correct.
The text was updated successfully, but these errors were encountered:
Yep, that's a bug! Will fix ASAP.
Sorry, something went wrong.
Fix tables with spaces before an initial |
|
dfebddc
This bug is present in 0.16.1 and 0.17.0 and was introduced with the source span refactorings. Fixes #199.
Fixed and released 0.17.1 with the fix: https://github.com/commonmark/commonmark-java/blob/main/CHANGELOG.md#0171---2021-02-03
Thanks for reporting!
Thank you for this fast fix and release 👍
Successfully merging a pull request may close this issue.
Table rendering changed after version
0.15.2
.For table (note spaces on the left of the table):
With version
0.15.2
I get expected :But with versions
0.16.1
and0.17.0
I get a table with first column empty and last column missing:Without spaces on the left of the Markdown table, the HTML is correct.
The text was updated successfully, but these errors were encountered: