Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: markedjs/marked
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v18.0.10
Choose a base ref
...
head repository: markedjs/marked
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v18.0.11
Choose a head ref
  • 6 commits
  • 15 files changed
  • 9 contributors

Commits on Aug 18, 2026

  1. 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.
    hdimer authored Aug 18, 2026
    Configuration menu
    Copy the full SHA
    e250e31 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2026

  1. 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>
    3 people authored Aug 22, 2026
    Configuration menu
    Copy the full SHA
    0653c24 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2026

  1. 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.
    luantaraschi authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    b699db3 View commit details
    Browse the repository at this point in the history
  2. 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>
    dependabot[bot] authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    c430a64 View commit details
    Browse the repository at this point in the history
  3. 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>
    UziTech and styfle authored Aug 24, 2026
    Configuration menu
    Copy the full SHA
    0c6b2a6 View commit details
    Browse the repository at this point in the history
  4. 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))
    semantic-release-bot committed Aug 24, 2026
    Configuration menu
    Copy the full SHA
    53cb13f View commit details
    Browse the repository at this point in the history
Loading