-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Support escapes within emphasis (#2627)
* fix: Support escapes within emphasis ...particularly right at the end. Fixes #2280 * chore: realign comments with regexp alternatives * test: Add HTML test for escapes within emphasis * fix: Correct recognition and masking of escaped emphasis punctuation * fix: Correct backslash fake-lookbehind
- Loading branch information
Showing
6 changed files
with
63 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<p><strong>strong text[</strong>]</p> | ||
|
||
<p><strong>strong text\[</strong>]</p> | ||
|
||
<p><em>em[pha](sis)</em></p> | ||
|
||
<p><em>\</em></p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
**strong text\[**\] | ||
|
||
**strong text\\\[**\] | ||
|
||
_em\[pha\]\(sis\)_ | ||
|
||
_\\_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
377823a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
marked-website – ./
markedjs.vercel.app
marked.js.org
marked-website-git-master-markedjs.vercel.app
marked-website-markedjs.vercel.app