Home
last modified time | relevance | path

Searched hist:"15429 f02faae079ee2b0d8112fedf410ca65d9f2" (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/Parsing/ParserMode/
H A DExternallink.php15429f02faae079ee2b0d8112fedf410ca65d9f2 Tue May 12 14:03:56 UTC 2026 Andreas Gohr <andi@splitbrain.org> Externallink: GFM autolink extension - parens and entity-ref tail

In Markdown-preferred mode, allow `(` and `)` inside URL char classes
and consume an optional trailing entity reference via the shared
HtmlEntity::PATTERN. The Markdown-only post-processing peels off
mismatched closing parens and decodes the trailing entity reference,
emitting the peeled chars as cdata after the link. Refactors handle()
to dispatch to handleAngleAutolink() and handleBareUrl(), with the new
trim logic in peelGfmTail() and the protocol-prefix step in
addProtocolPrefix(). DW-only mode behavior is unchanged.

Brings GFM spec examples #624, #625, #626 to passing.