Skip to content

Fix emphasis followed by a punctuation - #1383

Merged
styfle merged 3 commits into
markedjs:masterfrom
RomanHotsiy:master
Dec 5, 2018
Merged

Fix emphasis followed by a punctuation#1383
styfle merged 3 commits into
markedjs:masterfrom
RomanHotsiy:master

Conversation

@RomanHotsiy

@RomanHotsiyRomanHotsiy commented Dec 5, 2018

Copy link
Copy Markdown
Contributor

Marked version:

0.5.2

Markdown flavor: CommonMark

Description

My previous PR #1351 caused a regression for some emphasis use cases. There is no specific CommonMark test to catch that. @styfle could you suggest me where to put the test for this specific use case so it won't break in the future?

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

Comment threadlib/marked.js Outdated

@UziTechUziTech left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

looks good to me if all the tests pass

Co-Authored-By: RomanGotsiy <gotsijroman@gmail.com>
@UziTech

Copy link
Copy Markdown
Member

@RomanHotsiy

Copy link
Copy Markdown
ContributorAuthor

@UziTech Added a few extra tests and fixed lint issue.

@styflestyfle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is wonderful, thanks!

@styflestyfle changed the title Fix emphasis followed by a punctuation (fixes #1378)Fix emphasis followed by a punctuationDec 5, 2018
@styfle
styfle merged commit f8d556a into markedjs:masterDec 5, 2018
RomanHotsiy pushed a commit to Redocly/redoc that referenced this pull request Jan 17, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@RomanHotsiy@UziTech@styfle