Home
last modified time | relevance | path

Searched hist:"65 dd2042806255b56d4cf303530fd396ff38f151" (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/inc/Parsing/ParserMode/
H A DGfmLinebreak.php65dd2042806255b56d4cf303530fd396ff38f151 Tue May 26 19:27:33 UTC 2026 Andreas Gohr <gohr@cosmocode.de> GfmEscape: defer \\<EOL> to DW Linebreak in mixed-syntax modes

Both GfmEscape (sort 5) and DW Linebreak (sort 140) can claim the
two backslashes of `\\` followed by space/tab/newline. The lexer's
tie-breaker picked GfmEscape, so DW's forced linebreak silently lost
its delimiter under dw+md and md+dw. Add a negative lookahead that
declines `\\[ \t\n]` whenever DW syntax is loaded — pure md keeps
GFM-spec behavior. Mid-line `\\` (UNC paths etc.) still escapes.

H A DGfmEscape.php65dd2042806255b56d4cf303530fd396ff38f151 Tue May 26 19:27:33 UTC 2026 Andreas Gohr <gohr@cosmocode.de> GfmEscape: defer \\<EOL> to DW Linebreak in mixed-syntax modes

Both GfmEscape (sort 5) and DW Linebreak (sort 140) can claim the
two backslashes of `\\` followed by space/tab/newline. The lexer's
tie-breaker picked GfmEscape, so DW's forced linebreak silently lost
its delimiter under dw+md and md+dw. Add a negative lookahead that
declines `\\[ \t\n]` whenever DW syntax is loaded — pure md keeps
GFM-spec behavior. Mid-line `\\` (UNC paths etc.) still escapes.

/dokuwiki/_test/tests/Parsing/ParserMode/
H A DGfmEscapeTest.php65dd2042806255b56d4cf303530fd396ff38f151 Tue May 26 19:27:33 UTC 2026 Andreas Gohr <gohr@cosmocode.de> GfmEscape: defer \\<EOL> to DW Linebreak in mixed-syntax modes

Both GfmEscape (sort 5) and DW Linebreak (sort 140) can claim the
two backslashes of `\\` followed by space/tab/newline. The lexer's
tie-breaker picked GfmEscape, so DW's forced linebreak silently lost
its delimiter under dw+md and md+dw. Add a negative lookahead that
declines `\\[ \t\n]` whenever DW syntax is loaded — pure md keeps
GFM-spec behavior. Mid-line `\\` (UNC paths etc.) still escapes.