Skip to content
New issue

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

Fix a bug in lexer which may cause empty table drop last cell #797

Closed
wants to merge 1 commit into from

Conversation

nekolab
Copy link

@nekolab nekolab commented Aug 27, 2016

The regex in marked.js:388 tends to trim the trail '\n' in markdown
table by using non marked match(?:). But it also destory the table
structure itself by mistake. So fix it by keeping the table structure.

The regex in marked.js:388 tends to trim the trail '\n' in markdown
table by using non marked match(?:). But it also destory the table
structure itself by mistake. So fix it by keeping the table structure.
@matt-
Copy link
Contributor

matt- commented Aug 28, 2016

@joshbruce
Copy link
Member

Closing as missing tests - associating with #980 for future reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants