Skip to content

Conversation

@UziTech
Copy link
Member

@UziTech UziTech commented Mar 7, 2019

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
Member

styfle commented Mar 8, 2019

There are some merge conflicts

@UziTech
Copy link
Member Author

UziTech commented Mar 8, 2019

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
Member

styfle commented Mar 8, 2019

And also json has to escape quotes and such 🙄

@styfle
Copy link
Member

styfle commented Mar 8, 2019

Is this use case in the spec?

@UziTech
Copy link
Member Author

UziTech commented Mar 8, 2019

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

@UziTech UziTech requested review from davisjam and joshbruce March 9, 2019 17:37
This was referenced Mar 9, 2019
Copy link
Contributor

@davisjam davisjam left a comment

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 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