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
@rdelepine I don't understand the issue. I think it might be related to an issue I am seeing, but I am not sure. What are the columns you speak of? Are you saying you get
Test Test Test
Test Test Test
instead of what you have in your example? I left out the |\ characters, but I hope my question still makes sense.
@aidantwoods It looks like a fix was provided. Is there a reason the fix was not included? Maybe I'm misreading it. I'm just curious if this is something we could implement on our end, or if there are known issues.
The bug is that in header field content, the parser is not interpreting (and consuming) the backslash \ as an escape-prefix for the column divider |. Instead, the backslash is output and then | is interpreted as a column divider.
The header therefore contains three columns (the second empty), while the data rows have only two columns. Easily seen by pasting the OP's provided bug reproducing markdown in the Parsedown demo.
Notice the backslash-escaped vertical divider in the second data row is correctly consumed, and escapes the divider, so it appears in the cell output. This is what should happen in the header.
3 columns instead of 2 in the header
In blockTable method.
Change
To
And
To
The text was updated successfully, but these errors were encountered: