Repository navigation
fix: fix space at end of table line - #2201
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/markedjs/markedjs/JCHBvjnQaXpBPM9gTPAUNRsX7dhN |
|
Edit: Bwahahahaha. Disregard. I misread the regex so this is all fine. Approved. This solves the immediate problem, but I wanted to run a couple thoughts by you guys in case there is a deeper issue we should handle in following the (vague) GFM Spec:
If these are both true, then we might further adjust this PR to handle not just ending spaces, but also ending without a pipe at all. So this would be a valid table: And it works in Github:
But we currently can't handle it. |
## [3.0.3](v3.0.2...v3.0.3) (2021-09-08) ### Bug Fixes * fix space at end of table line ([#2201](#2201)) ([910f0f0](910f0f0))
|
🎉 This PR is included in version 3.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [3.0.3](markedjs/marked@v3.0.2...v3.0.3) (2021-09-08) ### Bug Fixes * fix space at end of table line ([#2201](markedjs/marked#2201)) ([e3a72d5](markedjs/marked@e3a72d5))
Marked version: v3.0.2
Markdown flavor: GFM
Description
Fix ignore space after table line.
Contributor
Committer
In most cases, this should be a different person than the contributor.