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
Marked broken example
if you add a couple | to the first line to have matching number of columns, the table will start working
CommonMark, DaringFireball don't support tables
Expected behavior
The ancient behavior of creating a table with a partial header was much more forgiving. In this case, the second header line specifying the alignment is correct and i'd expect that to be the thing that "wins".
The text was updated successfully, but these errors were encountered:
Actually i tried with the other versions on the demo site, it looks like i have to go all the way back to 0.3.19 to get an example of it working like would be most forgiving
Yep, this is a result of Marked following the spec more closely in later versions. Ancient Marked mistakenly allowed bad table syntax. Newer Marked is better at following the rules.
Marked version:
4.x
Ancient code on marked 0.7.0 seems to handle this better
Describe the bug
A table with mismatched headers and rows won't render:
We have a site using an ancient verison of marked, ~0.7.0, where this works in a strange way, which generates this:
To Reproduce
Steps to reproduce the behavior:
if you add a couple
|
to the first line to have matching number of columns, the table will start workingExpected behavior
The ancient behavior of creating a table with a partial header was much more forgiving. In this case, the second header line specifying the alignment is correct and i'd expect that to be the thing that "wins".
The text was updated successfully, but these errors were encountered: