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
First of all, I love Parsedown, and use it to maintain a personal wiki, thank you!
Here's a bug I found:
A table row containing multiple cells with preformatted text in them doesn't recognise them as multiple cells.
Working
| One | Two |
| :-- | :-- |
| ```One``` | Two |
| One | Two |
| :-- | :-- |
| One | ```Two``` |
| One | Two |
| :-- | :-- |
| Only ```partially``` preformatted | Two |
| One | Two |
| :-- | :-- |
| Only ```partially``` preformatted but ```twice``` | Two |
Broken
| One | Two |
| :-- | :-- |
| ```One``` | ```Two``` |
| One | Two | Three |
| :-- | :-- | :-- |
| ```One``` | Two | ```Three``` |
| One | Two |
| :-- | :-- |
| Only ```partially``` preformatted | ```Two``` |
| One | Two | Three |
| :-- | :-- | :-- |
| One | ```Two``` | ```Three``` |
I believe the issue might lie wtih line 1037 erroneously matching the pipes as part of the preformatted text.
Hi!
First of all, I love Parsedown, and use it to maintain a personal wiki, thank you!
Here's a bug I found:
A table row containing multiple cells with preformatted text in them doesn't recognise them as multiple cells.
Working
Broken
I believe the issue might lie wtih line 1037 erroneously matching the pipes as part of the preformatted text.
Changing it from this:
...to this (inserting an extra pipe):
...tentatively seems to fix the issue.
Time permitting, I'll add a pull request with this change.
All the best!
The text was updated successfully, but these errors were encountered: