Home
last modified time | relevance | path

Searched hist:d20858669cbb910f566e0b7d1ba9da293d1b794e (Results 1 – 3 of 3) sorted by relevance

/dokuwiki/_test/tests/Parsing/ParserMode/
H A DGfmHtmlEntityTest.phpd20858669cbb910f566e0b7d1ba9da293d1b794e Mon May 04 12:22:32 UTC 2026 Andreas Gohr <andi@splitbrain.org> extend GfmNumericEntity to HTML5 named entities, rename to GfmHtmlEntity

Numeric refs are still decoded explicitly: PHP's html_entity_decode
returns the input unchanged for U+0000, surrogates, U+10FFFF, and
BMP noncharacters where CommonMark requires U+FFFD or the literal
codepoint. Named refs delegate to html_entity_decode with ENT_HTML5,
which carries the full HTML5 named-entity table (including multi-
codepoint decodes like &ngE; -> U+2267 + U+0338).

Unknown names stay literal: the original &xxx; passes through as
cdata and the renderer's &-escaping turns it into &amp;xxx;.

/dokuwiki/inc/Parsing/ParserMode/
H A DGfmHtmlEntity.phpd20858669cbb910f566e0b7d1ba9da293d1b794e Mon May 04 12:22:32 UTC 2026 Andreas Gohr <andi@splitbrain.org> extend GfmNumericEntity to HTML5 named entities, rename to GfmHtmlEntity

Numeric refs are still decoded explicitly: PHP's html_entity_decode
returns the input unchanged for U+0000, surrogates, U+10FFFF, and
BMP noncharacters where CommonMark requires U+FFFD or the literal
codepoint. Named refs delegate to html_entity_decode with ENT_HTML5,
which carries the full HTML5 named-entity table (including multi-
codepoint decodes like &ngE; -> U+2267 + U+0338).

Unknown names stay literal: the original &xxx; passes through as
cdata and the renderer's &-escaping turns it into &amp;xxx;.

/dokuwiki/inc/Parsing/
H A DModeRegistry.phpd20858669cbb910f566e0b7d1ba9da293d1b794e Mon May 04 12:22:32 UTC 2026 Andreas Gohr <andi@splitbrain.org> extend GfmNumericEntity to HTML5 named entities, rename to GfmHtmlEntity

Numeric refs are still decoded explicitly: PHP's html_entity_decode
returns the input unchanged for U+0000, surrogates, U+10FFFF, and
BMP noncharacters where CommonMark requires U+FFFD or the literal
codepoint. Named refs delegate to html_entity_decode with ENT_HTML5,
which carries the full HTML5 named-entity table (including multi-
codepoint decodes like &ngE; -> U+2267 + U+0338).

Unknown names stay literal: the original &xxx; passes through as
cdata and the renderer's &-escaping turns it into &amp;xxx;.