Skip to content

New line after table - #1439

Merged
UziTech merged 3 commits into
markedjs:masterfrom
UziTech:new-line-after-table
Mar 12, 2019
Merged

New line after table#1439
UziTech merged 3 commits into
markedjs:masterfrom
UziTech:new-line-after-table

Conversation

@UziTech

Copy link
Copy Markdown
Member

Marked version: master

Markdown flavor: GitHub Flavored Markdown

Description

Fixes new line after a table removing last |

Contributor

  • Test(s) exist to ensure functionality and minimize regression

Committer

In most cases, this should be a different person than the contributor.

  • Draft GitHub release notes have been updated.
  • CI is green (no forced merge required).
  • Merge PR

@styfle

Copy link
Copy Markdown
Member

There are some merge conflicts

@UziTech

Copy link
Copy Markdown
MemberAuthor

That is the issue with using a json file for all of the tests. Once one is merged all other PRs that add tests to that file will have a merge conflict.

@styfle

Copy link
Copy Markdown
Member

And also json has to escape quotes and such 🙄

@styfle

Copy link
Copy Markdown
Member

Is this use case in the spec?

@UziTech

Copy link
Copy Markdown
MemberAuthor

Yes, our implementation was only wrong when there is an escaped pipe in the table

This was referenced Mar 9, 2019

@davisjamdavisjam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it works...This replaces a quadratic regex with a linear one so I am in favor.

Sign up for freeto 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

@UziTech@styfle@davisjam