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

Escapedpipes #1239

Merged
merged 2 commits into from
Apr 25, 2018
Merged

Escapedpipes #1239

merged 2 commits into from
Apr 25, 2018

Conversation

tomtheisen
Copy link

@tomtheisen tomtheisen commented Apr 25, 2018

Marked version: 0.3.19

Markdown flavor: Markdown.pl|CommonMark|GitHub Flavored Markdown|n/a

Description

This PR adds support for escaped pipes inside GFM tables. \| can be used to embed a literal pipe inside a table cell.

This means compliance with GFM spec example #193.

Contributor

  • Test(s) exist to ensure functionality and minimize regression: Example 193 in gfm.0.28.json
  • no tests required for this PR.
  • If submitting new feature, it has been documented in the appropriate places.

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

Copy link
Member

@UziTech UziTech left a comment

Choose a reason for hiding this comment

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

LGTM

@UziTech UziTech requested a review from joshbruce April 25, 2018 05:27
Copy link
Member

@joshbruce joshbruce left a comment

Choose a reason for hiding this comment

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

Agreed. LGTM

@joshbruce joshbruce merged commit c5cc037 into markedjs:master Apr 25, 2018
@joshbruce joshbruce mentioned this pull request Apr 25, 2018
6 tasks
zhenalexfan pushed a commit to zhenalexfan/MarkdownHan that referenced this pull request Nov 8, 2021
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.

GFM doesn't handle escaped pipes in code blocks
3 participants