Skip to content

fix: remove quotes at the end of gfm autolink#2673

Merged
UziTech merged 1 commit intomarkedjs:masterfrom
UziTech:autolink-quotes
Dec 7, 2022
Merged

fix: remove quotes at the end of gfm autolink#2673
UziTech merged 1 commit intomarkedjs:masterfrom
UziTech:autolink-quotes

Conversation

@UziTech
Copy link
Copy Markdown
Member

@UziTech UziTech commented Dec 4, 2022

Marked version: 4.2.3

Markdown flavor: GitHub Flavored Markdown

Description

GFM spec states that trailing puncutation (?, !, ., ,, :, *, _, and ~) are removed from the url but in the implementation ' and " are also removed. This technically breaks the GMF spec but follows the implementation closer.

Contributor

  • Test(s) exist to ensure functionality and minimize regression (if no tests added, list tests covering this PR); or,
  • 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.

@vercel
Copy link
Copy Markdown

vercel bot commented Dec 4, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
marked-website ✅ Ready (Inspect) Visit Preview Dec 4, 2022 at 4:03AM (UTC)

@UziTech UziTech merged commit 697ac2a into markedjs:master Dec 7, 2022
@UziTech UziTech deleted the autolink-quotes branch December 7, 2022 07:44
github-actions bot pushed a commit that referenced this pull request Dec 7, 2022
## [4.2.4](v4.2.3...v4.2.4) (2022-12-07)

### Bug Fixes

* loose list items are loose ([#2672](#2672)) ([df4eb0e](df4eb0e))
* remove quotes at the end of gfm autolink ([#2673](#2673)) ([697ac2a](697ac2a))
* use paragraph token in blockquote in list ([#2671](#2671)) ([edc857c](edc857c))
Logiclayer1111 pushed a commit to Logiclayer1111/marked that referenced this pull request Apr 20, 2026
## [4.2.4](markedjs/marked@v4.2.3...v4.2.4) (2022-12-07)

### Bug Fixes

* loose list items are loose ([#2672](markedjs/marked#2672)) ([80e5189](markedjs/marked@80e5189))
* remove quotes at the end of gfm autolink ([#2673](markedjs/marked#2673)) ([814db00](markedjs/marked@814db00))
* use paragraph token in blockquote in list ([#2671](markedjs/marked#2671)) ([ce2330a](markedjs/marked@ce2330a))
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.

URLs wrapped in quotes include closing quote

2 participants