Searched hist:"6359 e7fdf570c2d76e6de8eb24d1cf4c5eb296ae" (Results 1 – 2 of 2) sorted by relevance
| /dokuwiki/_test/tests/Parsing/Markdown/ |
| H A D | SpecCompatRenderer.php | 6359e7fdf570c2d76e6de8eb24d1cf4c5eb296ae Mon May 04 13:00:51 UTC 2026 Andreas Gohr <andi@splitbrain.org> percent-encode URLs in SpecCompatRenderer to match spec output
CommonMark's reference renderer percent-encodes URL bytes outside the RFC 3986 unreserved/reserved set (and existing %XX sequences pass through unchanged). DokuWiki's XHTML renderer leaves UTF-8 and backslashes literal in href, which is fine for live wiki output but diverges byte-for-byte from spec.
Adds specEncodeUrl() to the spec-compat renderer and applies it in specLink(). Same shape as the earlier `→`->`\t` substitution: a test-harness alignment with spec convention, no production behavior change.
Unskips #510 (backslash in URL) and #511 (entity / percent-encoding in URL); both now match spec output with the parser-side decoding from the previous commit and the renderer-side encoding here.
|
| /dokuwiki/_test/tests/Parsing/Markdown/gfm-spec/ |
| H A D | skip.php | 6359e7fdf570c2d76e6de8eb24d1cf4c5eb296ae Mon May 04 13:00:51 UTC 2026 Andreas Gohr <andi@splitbrain.org> percent-encode URLs in SpecCompatRenderer to match spec output
CommonMark's reference renderer percent-encodes URL bytes outside the RFC 3986 unreserved/reserved set (and existing %XX sequences pass through unchanged). DokuWiki's XHTML renderer leaves UTF-8 and backslashes literal in href, which is fine for live wiki output but diverges byte-for-byte from spec.
Adds specEncodeUrl() to the spec-compat renderer and applies it in specLink(). Same shape as the earlier `→`->`\t` substitution: a test-harness alignment with spec convention, no production behavior change.
Unskips #510 (backslash in URL) and #511 (entity / percent-encoding in URL); both now match spec output with the parser-side decoding from the previous commit and the renderer-side encoding here.
|