-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Comparing changes
Open a pull request
base repository: markedjs/marked
base: v18.0.10
head repository: markedjs/marked
compare: v18.0.11
- 6 commits
- 15 files changed
- 9 contributors
Commits on Aug 18, 2026
-
fix: do not nest a link inside a link (#4051)
CommonMark: "Links may not contain other links, at any level of nesting." marked emitted nested <a> elements instead, which is invalid HTML. outputLink now rejects a link whose text tokenized into a link, so the lexer falls through to inlineText and the inner link is the one kept. Images stay exempt, since their text is flattened into an alt attribute. Fixes CommonMark examples 518, 519 and 532.
Configuration menu - View commit details
-
Copy full SHA for e250e31 - Browse repository at this point
Copy the full SHA e250e31View commit details
Commits on Aug 22, 2026
-
fix: inlineTokens rebuilds the reflink-mask preamble per call (#4040)
Co-authored-by: honor00 <susyimes2@gmail.com> Co-authored-by: blackhole-agent <blackhole-agent@localhost>
Configuration menu - View commit details
-
Copy full SHA for 0653c24 - Browse repository at this point
Copy the full SHA 0653c24View commit details
Commits on Aug 24, 2026
-
fix: keep emphasis in the text of a rejected reference link (#4059)
A reference link candidate whose text already holds a link never becomes a link, but the mask em and strong read still flattened the whole span, so every emphasis marker inside it was invisible. Mask the links the text holds instead of the span, and leave images alone, since an image may hold a link. Fixes CommonMark example 533.
Configuration menu - View commit details
-
Copy full SHA for b699db3 - Browse repository at this point
Copy the full SHA b699db3View commit details -
chore(deps-dev): bump eslint from 10.8.1 to 10.9.0 (#4069)
Bumps [eslint](https://github.com/eslint/eslint) from 10.8.1 to 10.9.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v10.8.1...v10.9.0) --- updated-dependencies: - dependency-name: eslint dependency-version: 10.9.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c430a64 - Browse repository at this point
Copy the full SHA c430a64View commit details -
docs: add adaptable bullet point (#4058)
* docs: add adaptable bullet point * Zero deps Co-authored-by: Steven <steven@ceriously.com> * Update docs/INDEX.md Co-authored-by: Steven <steven@ceriously.com> --------- Co-authored-by: Steven <steven@ceriously.com>
Configuration menu - View commit details
-
Copy full SHA for 0c6b2a6 - Browse repository at this point
Copy the full SHA 0c6b2a6View commit details -
chore(release): 18.0.11 [skip ci]
## [18.0.11](v18.0.10...v18.0.11) (2026-08-24) ### Bug Fixes * do not nest a link inside a link ([#4051](#4051)) ([e250e31](e250e31)) * inlineTokens rebuilds the reflink-mask preamble per call ([#4040](#4040)) ([0653c24](0653c24)) * keep emphasis in the text of a rejected reference link ([#4059](#4059)) ([b699db3](b699db3))
Configuration menu - View commit details
-
Copy full SHA for 53cb13f - Browse repository at this point
Copy the full SHA 53cb13fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v18.0.10...v18.0.11