xref: /dokuwiki/_test/tests/Parsing/Markdown/gfm-spec/skip.php (revision b37c6ef7375e15c7eafc4a62d7d0f7ae95caff19)
1<?php
2
3/**
4 * GFM spec examples that GfmSpecTest should skip, keyed by example number
5 * (as numbered in spec.txt / the rendered spec).
6 *
7 * Add entries here ONLY for behavior DokuWiki has explicitly decided not to
8 * implement — not for features that are merely pending. Unimplemented
9 * features should show as real failures so they remain visible TODOs on
10 * the branch.
11 *
12 * Each value is a short human-readable reason that will appear in phpunit's
13 * skip output.
14 */
15
16return [
17    // --------------------------------------------------------------------
18    // Tabs (§2.2) — DokuWiki's tab handling is binary: a leading tab
19    // (matching `\n\t` directly after the newline) is the indented-code
20    // trigger; otherwise tabs are ordinary characters. CommonMark
21    // instead advances each tab to the next 4-column stop and uses the
22    // resulting column count to drive list-continuation, list-nesting,
23    // blockquote-interior, and 4-column indented-code decisions. The
24    // column arithmetic is what's missing.
25    //
26    // Examples #1, #3, #8, #10 are not listed: they happen to render
27    // correctly because a leading tab matches `\n\t`, four leading
28    // spaces match the `md`-mode 4-space code trigger, and GfmHeader
29    // accepts a tab as the post-`#` separator.
30    // --------------------------------------------------------------------
31    2 => 'tab indented-code: 2 spaces then tab. The 4-space trigger needs'
32        . ' 4 spaces; the `\n\t` trigger needs the tab directly after the'
33        . ' newline. Neither fires. CommonMark counts the tab as advancing'
34        . ' to column 4 → code block; DokuWiki does no such arithmetic.',
35    4 => 'tab as 4-column lazy-continuation indent inside a list item.'
36        . ' DokuWiki treats a leading tab as the indented-code trigger,'
37        . ' not as list continuation. Resolving requires column arithmetic'
38        . ' against the list\'s content column.',
39    5 => 'two tabs (8 columns) inside a list item → code block inside list.'
40        . ' Requires column arithmetic to subtract the list\'s content'
41        . ' column from the indent and route the residue into a nested'
42        . ' code block.',
43    6 => 'tabs after blockquote marker → indented code inside blockquote.'
44        . ' Requires column arithmetic for the blockquote interior;'
45        . ' DokuWiki treats the tab as a top-level code trigger instead.',
46    7 => 'tabs after list marker → indented code inside list item.'
47        . ' Requires column arithmetic for the list interior; DokuWiki'
48        . ' treats the tab as a top-level code trigger instead.',
49    9 => 'tab as 4-column indent for list nesting. DokuWiki treats a'
50        . ' leading tab as the indented-code trigger, never as list'
51        . ' nesting indent.',
52    11 => '`*\t*\t*\t` thematic break with tab separators. Strict-bare-run'
53        . ' HR policy rejects internal whitespace (same family as #21-23);'
54        . ' the tab form is the same case.',
55
56    // --------------------------------------------------------------------
57    // Thematic breaks (GfmHr) — strict-only HR is intentional. The
58    // delimiter run must be bare: no leading, trailing, or internal
59    // whitespace in either DW or GFM flavor. The list-precedence cases
60    // additionally need a GfmListblock guard that is out of scope.
61    // --------------------------------------------------------------------
62    17 => 'thematic break: 0-3 spaces of leading indent. Strict policy:'
63        . ' opener must be at column 0 in either flavor.',
64    21 => 'thematic break: spaces between delimiter chars (`- - -`).'
65        . ' Strict policy: bare run only.',
66    22 => 'thematic break: spaces between delimiter chars (`** * **`).'
67        . ' Strict policy: bare run only.',
68    23 => 'thematic break: spaces between delimiter chars (`-     -`).'
69        . ' Strict policy: bare run only.',
70    24 => 'thematic break: trailing spaces after the run. Strict policy:'
71        . ' bare run only.',
72    29 => 'thematic break: Setext heading underline `Foo\n---` should'
73        . ' render as `<h2>`. Setext headings are deliberately not'
74        . ' supported — `---` collides with DokuWiki HR and `===` would'
75        . ' collide with DokuWiki heading syntax.',
76    30 => 'thematic break vs. list-item precedence (`* * *` between list'
77        . ' items): requires internal-space HR support and a GfmListblock'
78        . ' guard so the list refuses to absorb the HR-shaped line. Both'
79        . ' out of scope; the line stays a list-item body.',
80    31 => 'thematic break inside list with different bullet (`- * * *`):'
81        . ' depends on internal-space HR support inside the sub-parsed'
82        . ' item body. See example 30.',
83
84    // --------------------------------------------------------------------
85    // Setext headings (§4.3) — deliberately not supported across the
86    // whole section. The `---` underline collides with DokuWiki\'s HR
87    // syntax and `===` would collide with DokuWiki\'s heading delimiter.
88    // Same rationale as #29 (thematic break vs. Setext underline),
89    // #111 (fence after Setext), and #212 (Setext after blockquote).
90    //
91    // Examples #62, #64, #67, #68, #69, #71, #74 are NOT listed: those
92    // are cases where Setext is deliberately NOT triggered (blockquote /
93    // list / paragraph wins, or blank lines disambiguate), so the spec
94    // output matches DokuWiki\'s no-Setext rendering and they pass
95    // naturally.
96    //
97    // #58 and #75 also depend on DokuWiki\'s strict-bare-run HR rule
98    // (`--- -` and `* * *` need internal-space HR, see #21-23) — they
99    // sit in the Setext section because the spec uses them to
100    // illustrate Setext-underline edge cases.
101    // --------------------------------------------------------------------
102    50 => 'Setext heading (`Foo *bar*\n=====` / `\n-----`): Setext'
103        . ' headings deliberately not supported — `---`/`===` underlines'
104        . ' collide with DokuWiki HR / heading syntax.',
105    51 => 'Setext heading with multi-line content: Setext headings'
106        . ' deliberately not supported (see #50).',
107    52 => 'Setext heading with indented multi-line content: Setext'
108        . ' headings deliberately not supported (see #50).',
109    53 => 'Setext heading with any-length underline: Setext headings'
110        . ' deliberately not supported (see #50).',
111    54 => 'Setext heading with 3-space-indented content / underline:'
112        . ' Setext headings deliberately not supported (see #50).',
113    55 => 'Setext heading: 4-space-indented content forms code block,'
114        . ' then `---` HR. Setext headings deliberately not supported'
115        . ' (see #50).',
116    56 => 'Setext heading: underline indented up to 3 spaces with'
117        . ' trailing spaces. Setext headings deliberately not'
118        . ' supported (see #50).',
119    57 => 'Setext heading vs. 4-space-indented underline (paragraph'
120        . ' wins). Setext headings deliberately not supported (see #50).',
121    58 => 'Setext heading: underline cannot contain internal spaces'
122        . ' (`= =` / `--- -`). Setext headings deliberately not supported'
123        . ' (see #50); also depends on internal-space HR support DokuWiki'
124        . ' lacks (see #21-23).',
125    59 => 'Setext heading: trailing spaces in content do not cause a'
126        . ' line break. Setext headings deliberately not supported (see'
127        . ' #50).',
128    60 => 'Setext heading: trailing backslash in content. Setext'
129        . ' headings deliberately not supported (see #50).',
130    61 => 'Setext heading: block-structure precedence over inline.'
131        . ' Setext headings deliberately not supported (see #50).',
132    63 => 'Setext heading: underline cannot be a lazy continuation in'
133        . ' a blockquote. Setext headings deliberately not supported'
134        . ' (see #50).',
135    65 => 'Setext heading: preceding paragraph becomes part of heading'
136        . ' content. Setext headings deliberately not supported (see #50).',
137    66 => 'Setext heading: no blank line required before/after. Setext'
138        . ' headings deliberately not supported (see #50).',
139    70 => 'Setext heading: 4-space-indented content forms code block,'
140        . ' then `---` HR. Setext headings deliberately not supported'
141        . ' (see #50).',
142    72 => 'Setext heading with backslash-escaped marker `\\> foo`.'
143        . ' Setext headings deliberately not supported (see #50).',
144    73 => 'Setext heading: blank-line-separated paragraph + heading +'
145        . ' paragraph. Setext headings deliberately not supported (see'
146        . ' #50).',
147    75 => 'Setext heading boundary: `* * *` should be HR (cannot count'
148        . ' as Setext underline). Setext headings deliberately not'
149        . ' supported (see #50); also depends on internal-space HR'
150        . ' support DokuWiki lacks (see #21-23).',
151    76 => 'Setext heading: backslash-escaped underline `\\---` keeps'
152        . ' content as paragraph. Setext headings deliberately not'
153        . ' supported (see #50).',
154
155    // --------------------------------------------------------------------
156    // Fenced code blocks (GfmCode / GfmFile) — deliberate simplifications
157    // versus strict GFM. All of these are consequences of lexer constraints
158    // (no regex backreferences) or the deliberate column-0-only policy.
159    // --------------------------------------------------------------------
160    94  => 'fenced code: closing fence must be ≥ opening length — DokuWiki'
161         . ' accepts any 3+ run as a closer (no regex backreferences for'
162         . ' length pairing). Deliberate relaxation.',
163    95  => 'fenced code (tilde variant): closing fence must be ≥ opening'
164         . ' length — see example 94.',
165    96  => 'fenced code: unclosed fence — DokuWiki convention requires a'
166         . ' closer (matches DW <code> tag), so unclosed fences stay'
167         . ' literal rather than consuming to EOF. GFM\'s "close at end"'
168         . ' rule is really "close at any container boundary" in'
169         . ' CommonMark\'s two-pass block parser, which our single-pass'
170         . ' lexer cannot implement.',
171    97  => 'fenced code: unclosed fence with intervening short run — stays'
172         . ' literal, see example 96.',
173    98  => 'fenced code inside blockquote: GFM closes the fence at the'
174         . ' blockquote\'s end, but DokuWiki requires an explicit closing'
175         . ' fence and the single-pass lexer has no notion of container'
176         . ' boundaries to close at. Same root cause as example 96 —'
177         . ' unclosed fences stay literal.',
178    101 => 'fenced code: opener indented 1 space — DokuWiki requires'
179         . ' column-0 fences. Indent tolerance + per-line body dedent out'
180         . ' of scope.',
181    102 => 'fenced code: opener indented 2 spaces — see example 101.',
182    103 => 'fenced code: opener indented 3 spaces — see example 101.',
183    105 => 'fenced code: closer indented 2 spaces — column-0-only policy,'
184         . ' see example 101.',
185    106 => 'fenced code: indented opener with less-indented closer —'
186         . ' column-0-only policy, see example 101.',
187    107 => 'fenced code: 4-space-indented closer — with column-0-only'
188         . ' policy there is no valid closer, so the fence stays literal'
189         . ' (see example 96).',
190    109 => 'fenced code: malformed closer `~~~ ~~` (space-broken run) —'
191         . ' with no valid closer the fence stays literal (see example 96).',
192    108 => 'fenced code: `` `` is not a valid fence; GFM falls back to an'
193         . ' inline code span of length 3. Inline spans with n≥3 not'
194         . ' implemented (GfmBacktickSingle/Double cover only n=1, n=2).',
195    111 => 'fenced code interrupting Setext heading (`foo\n---`): Setext'
196         . ' headings are deliberately not supported — the `---` underline'
197         . ' collides with DokuWiki\'s horizontal rule and `===` would'
198         . ' collide with DokuWiki heading syntax.',
199    115 => 'fenced code: `` `` backtick-fence-with-backticks-in-info-string'
200         . ' is invalid; GFM falls back to n=3 inline span — inline spans'
201         . ' with n≥3 not implemented. See example 108.',
202
203    // --------------------------------------------------------------------
204    // HTML blocks (§4.6) — raw HTML pass-through is not supported
205    // --------------------------------------------------------------------
206    118 => 'raw HTML block (script/pre/style/textarea group): raw HTML pass-through not supported — DokuWiki escapes `<` as `&lt;`',
207    119 => 'raw HTML block: raw HTML pass-through not supported',
208    120 => 'raw HTML block: raw HTML pass-through not supported',
209    121 => 'raw HTML block: raw HTML pass-through not supported',
210    122 => 'raw HTML block (comment): raw HTML pass-through not supported',
211    123 => 'raw HTML block (processing instruction): raw HTML pass-through not supported',
212    124 => 'raw HTML block (declaration): raw HTML pass-through not supported',
213    125 => 'raw HTML block (CDATA): raw HTML pass-through not supported',
214    126 => 'raw HTML block (block-level tag group): raw HTML pass-through not supported',
215    127 => 'raw HTML block: raw HTML pass-through not supported',
216    128 => 'raw HTML block: raw HTML pass-through not supported',
217    129 => 'raw HTML block: raw HTML pass-through not supported',
218    130 => 'raw HTML block: raw HTML pass-through not supported',
219    131 => 'raw HTML block: raw HTML pass-through not supported',
220    132 => 'raw HTML block: raw HTML pass-through not supported',
221    133 => 'raw HTML block: raw HTML pass-through not supported',
222    134 => 'raw HTML block: raw HTML pass-through not supported',
223    135 => 'raw HTML block: raw HTML pass-through not supported',
224    136 => 'raw HTML block (any-tag group): raw HTML pass-through not supported',
225    137 => 'raw HTML block: raw HTML pass-through not supported',
226    138 => 'raw HTML block: raw HTML pass-through not supported',
227    139 => 'raw HTML block: raw HTML pass-through not supported',
228    140 => 'raw HTML block: raw HTML pass-through not supported',
229    141 => 'raw HTML block: raw HTML pass-through not supported',
230    142 => 'raw HTML block: raw HTML pass-through not supported',
231    143 => 'raw HTML block: raw HTML pass-through not supported',
232    144 => 'raw HTML block: raw HTML pass-through not supported',
233    145 => 'raw HTML block: raw HTML pass-through not supported',
234    146 => 'raw HTML block: raw HTML pass-through not supported',
235    147 => 'raw HTML block: raw HTML pass-through not supported',
236    148 => 'raw HTML block: raw HTML pass-through not supported',
237    149 => 'raw HTML block: raw HTML pass-through not supported',
238    150 => 'raw HTML block: raw HTML pass-through not supported',
239    151 => 'raw HTML block: raw HTML pass-through not supported',
240    152 => 'raw HTML block: raw HTML pass-through not supported',
241    153 => 'raw HTML block: raw HTML pass-through not supported',
242    154 => 'raw HTML block: raw HTML pass-through not supported',
243    155 => 'raw HTML block: raw HTML pass-through not supported',
244    156 => 'raw HTML block: raw HTML pass-through not supported',
245    157 => 'raw HTML block: raw HTML pass-through not supported',
246    158 => 'raw HTML block: raw HTML pass-through not supported',
247    159 => 'raw HTML block: raw HTML pass-through not supported',
248    160 => 'raw HTML block: raw HTML pass-through not supported',
249
250    // --------------------------------------------------------------------
251    // Link reference definitions (§4.7) — single-pass lexer cannot resolve
252    // forward references, so the `[foo]: /url` definition lines are not
253    // recognised and the matching `[foo]` references stay literal. Same
254    // rationale as the reference-link entries at #535-579.
255    // Examples #168, #180-182 are NOT listed: their definitions are
256    // invalid (empty URL / inside indented code / inside fenced code /
257    // attached to a paragraph), so the spec also expects literal output
258    // for the `[foo]` reference, and DW agrees.
259    // --------------------------------------------------------------------
260    161 => 'link reference definition: forward-reference definitions not supported (single-pass lexer)',
261    162 => 'link reference definition: forward-reference definitions not supported (single-pass lexer)',
262    163 => 'link reference definition (multi-line title): forward-reference definitions not supported (single-pass lexer)',
263    164 => 'link reference definition (case-insensitive label): forward-reference definitions not supported (single-pass lexer)',
264    165 => 'link reference definition (Unicode case folding): forward-reference definitions not supported (single-pass lexer)',
265    166 => 'link reference definition (whitespace-collapsed label): forward-reference definitions not supported (single-pass lexer)',
266    167 => 'link reference definition (no link text used): forward-reference definitions not supported (single-pass lexer)',
267    169 => 'link reference definition (pointy-bracket destination): forward-reference definitions not supported (single-pass lexer)',
268    170 => 'link reference definition (no title, blank line in between): forward-reference definitions not supported (single-pass lexer)',
269    171 => 'link reference definition (title only, no destination): forward-reference definitions not supported (single-pass lexer)',
270    172 => 'link reference definition (multiple definitions): forward-reference definitions not supported (single-pass lexer)',
271    173 => 'link reference definition (first wins on duplicate label): forward-reference definitions not supported (single-pass lexer)',
272    174 => 'link reference definition (label case-insensitive): forward-reference definitions not supported (single-pass lexer)',
273    175 => 'link reference definition (used as paragraph delimiter): forward-reference definitions not supported (single-pass lexer)',
274    176 => 'link reference definition (no body following): forward-reference definitions not supported (single-pass lexer)',
275    177 => 'link reference definition (label with surrounding whitespace): forward-reference definitions not supported (single-pass lexer)',
276    178 => 'link reference definition (indented up to 3 spaces): forward-reference definitions not supported (single-pass lexer)',
277    179 => 'link reference definition (multi-line definition with title): forward-reference definitions not supported (single-pass lexer)',
278    183 => 'link reference definition (does not interrupt paragraph): forward-reference definitions not supported (single-pass lexer)',
279    184 => 'link reference definition (between blockquote and paragraph): forward-reference definitions not supported (single-pass lexer)',
280    185 => 'link reference definition (lone definition emits nothing): forward-reference definitions not supported (single-pass lexer)',
281    186 => 'link reference definition (definition then HR): forward-reference definitions not supported (single-pass lexer)',
282    187 => 'link reference definition (multiple defs in a row): forward-reference definitions not supported (single-pass lexer)',
283    188 => 'link reference definition (def inside blockquote): forward-reference definitions not supported (single-pass lexer)',
284    329 => 'reference link with entity-decoded URL in definition: depends on'
285         . ' link reference definitions, which forward-reference definitions'
286         . ' are not supported (single-pass lexer)',
287
288    // --------------------------------------------------------------------
289    // Code-span edge cases that collide with project-wide decisions
290    // (no raw HTML, no GFM angle-bracket autolinks, typography on by
291    // default) or with the single-pass lexer's limits.
292    // --------------------------------------------------------------------
293    351 => 'code span vs. emphasis: cross-positional precedence would require'
294         . ' a pre-scan pass — the single-pass lexer matches leftmost-first'
295         . ' and cannot reject an earlier emphasis opener because a later'
296         . ' backtick span would consume its closer',
297    352 => 'code span vs. link `[not a `link](/foo`)`: the link opener is'
298         . ' leftmost but a backtick span inside its label should consume'
299         . ' the closing `]` and `)` — single-pass lexer matches'
300         . ' leftmost-first and cannot reorder spans (see #351).',
301    353 => 'code span: the trailing `"` outside the span is converted to a'
302         . ' curly quote by DokuWiki typography, diverging from the spec HTML',
303    327 => 'raw HTML tag with entity in attribute: raw HTML pass-through not supported',
304    354 => 'raw HTML tag pass-through: raw HTML pass-through not supported',
305    356 => 'GFM angle-bracket autolink `<http://…>`: not implemented — we'
306         . ' rely on DokuWiki\'s existing bare-URL detection, which does not'
307         . ' parse `<URL>` form',
308
309    // --------------------------------------------------------------------
310    // CommonMark §6.2 flanking-delimiter analysis — deliberately not
311    // implemented. DokuWiki's regex lexer uses leftmost-match and cannot
312    // apply CommonMark's left/right-flanking rules that distinguish
313    // word-chars, whitespace, and punctuation for `*`/`_` delimiters, or
314    // the "multiple-of-3" rule for overlapping runs. These examples all
315    // rely on that machinery.
316    // --------------------------------------------------------------------
317
318    // Unicode whitespace in flanking context. Our `\s` is ASCII-only
319    // because the lexer doesn't set the PCRE `u` flag.
320    363 => 'Unicode whitespace (U+00A0) flanking — requires u-flag-aware regex',
321
322    // Punctuation-adjacent flanking for `*` / `_` / `**` / `__`
323    362 => 'flanking: punctuation-adjacent `*` (left-flanking vs. right-flanking)',
324    368 => 'flanking: punctuation-adjacent `_`',
325    372 => 'flanking: intraword `_` with punctuation inside',
326    377 => 'flanking: `*` followed by `(` requires punctuation-aware flanking',
327    378 => 'flanking: nested `*(*foo*)*` requires flanking + balanced-pair analysis',
328    382 => 'flanking: nested `_(_foo_)_` requires flanking + balanced-pair analysis',
329    389 => 'flanking: punctuation-adjacent `**`',
330    394 => 'flanking: punctuation-adjacent `__`',
331    401 => 'flanking: `**` followed by `(`',
332    404 => 'flanking: nested `*bar*` inside `**foo ... foo**` with punctuation',
333    407 => 'flanking: `__` followed by `(`',
334    470 => 'flanking: nested `*_foo_*` requires balanced-pair analysis',
335    472 => 'flanking: nested `_*foo*_` requires balanced-pair analysis',
336
337    // Intraword `__` strong (even multibyte) — flanking rule for `_` requires
338    // examining whether the delimiter run is word-boundary-flanking, which our
339    // simple lookbehind/lookahead approximation doesn't fully match.
340    395 => 'flanking: intraword `__` (`foo__bar__`) — left-flanking vs right-flanking',
341    396 => 'flanking: intraword `__` across digits (`5__6__78`)',
342    397 => 'flanking: intraword `__` with Cyrillic',
343    398 => 'flanking: `__foo, __bar__, baz__` — flanking + balanced pairing',
344    409 => 'flanking: `__foo__bar` — intraword close',
345    410 => 'flanking: intraword `__` with Cyrillic (leading)',
346    411 => 'flanking: `__foo__bar__baz__` — multiple `__` pairs with flanking',
347    412 => 'flanking: `__(bar)__.` — punctuation-adjacent',
348
349    // Overlapping / multiple-of-3 rule for runs
350    416 => 'CommonMark rule 9 (overlapping same-delimiter `_foo _bar_ baz_`)',
351    417 => 'CommonMark overlapping `_` / `__` with flanking',
352    418 => 'CommonMark overlapping `*foo *bar**` — multiple-of-3 rule',
353    419 => 'CommonMark nested `*foo **bar** baz*` — balanced-pair analysis',
354    421 => 'CommonMark overlapping `*foo**bar*` — multiple-of-3',
355    422 => 'CommonMark nested `***foo** bar*` — triple-delimiter analysis',
356    423 => 'CommonMark nested `*foo **bar***` — triple-delimiter analysis',
357    424 => 'CommonMark nested `*foo**bar***` — triple-delimiter analysis',
358    425 => 'CommonMark triple `foo***bar***baz` — triple-delimiter analysis',
359    426 => 'CommonMark long delimiter runs `foo******bar*********baz`',
360    427 => 'CommonMark deeply nested `*foo **bar *baz* bim** bop*`',
361    434 => 'CommonMark overlapping `__foo __bar__ baz__` — multiple-of-3',
362    435 => 'CommonMark `____foo__ bar__` — leading long delimiter run',
363    436 => 'CommonMark `**foo **bar****` — trailing long delimiter run',
364    439 => 'CommonMark nested `***foo* bar**` — triple-delimiter',
365    440 => 'CommonMark nested `**foo *bar***` — triple-delimiter',
366    441 => 'CommonMark deeply nested `**foo *bar **baz** bim* bop**`',
367
368    // `__foo_` / `_foo__` — mixing `_` and `__` requires flanking to decide
369    // which delimiter pairs open/close.
370    463 => 'flanking: `__foo_` — mixed `_`/`__` pairing',
371    464 => 'flanking: `_foo__` — mixed `_`/`__` pairing',
372    465 => 'flanking: `___foo__` — delimiter-run length analysis',
373    466 => 'flanking: `____foo_` — delimiter-run length analysis',
374    467 => 'flanking: `__foo___` — delimiter-run length analysis',
375    468 => 'flanking: `_foo____` — delimiter-run length analysis',
376
377    // Long delimiter runs require excess-drop logic (2 outer chars dropped
378    // from each side). Stack-based pairing needed — out of scope.
379    473 => 'CommonMark `****foo****` — excess-drop (4+4 → strong only)',
380    474 => 'CommonMark `____foo____` — excess-drop (4+4 → strong only)',
381    475 => 'CommonMark `******foo******` — excess-drop (6+6 → strong only)',
382    477 => 'CommonMark `_____foo_____` — excess-drop (5+5 → em+strong, 2 dropped each side)',
383
384    // Overlapping / crossing delimiters
385    478 => 'CommonMark `*foo _bar* baz_` — overlapping different delimiters',
386    479 => 'CommonMark `*foo __bar *baz bim__ bam*` — crossing delimiters',
387    480 => 'CommonMark `**foo **bar baz**` — overlapping same delimiter',
388
389    // Emphasis vs. angle-bracket autolink: same root cause as #351 (the
390    // single-pass lexer matches leftmost-first and cannot reject an
391    // earlier `**`/`__` opener because a later `<URL>` autolink would
392    // consume its closer).
393    489 => 'emphasis vs. angle-bracket autolink `**a<http://...?q=**>`:'
394         . ' leftmost-match cannot reorder spans — see #351 for the'
395         . ' single-pass-lexer rationale.',
396    490 => 'emphasis vs. angle-bracket autolink `__a<http://...?q=__>`:'
397         . ' leftmost-match cannot reorder spans — see #351.',
398
399    // --------------------------------------------------------------------
400    // Inline link `[text](url)` — features GfmLink deliberately does not
401    // implement. Either rarely-used syntax paid for with disproportionate
402    // regex complexity, or single-pass-lexer limits that can't be worked
403    // around inside one mode.
404    // --------------------------------------------------------------------
405
406    // GFM link title attribute (`"title"` / `'title'` / `(title)` after
407    // the URL). Parses cleanly but is discarded: DokuWiki's link handler
408    // instructions have no title-attribute slot, and plumbing one through
409    // every renderer is out of scope for GfmLink.
410    328 => 'link with entity-decoded URL and title: URL side decodes correctly,'
411         . ' but the title attribute is discarded — DokuWiki link instructions'
412         . ' have no title slot.',
413    493 => 'link title attribute: GfmLink parses but discards — DokuWiki link instructions have no title slot',
414    513 => 'link title attribute (three quoting styles): discarded by GfmLink',
415    514 => 'link title with HTML-entity escape `"title \\"&quot;"`: title slot not supported (see #493)',
416    515 => 'link title separated by non-breaking space: title slot not supported',
417    516 => 'link title with nested balanced quotes: Markdown.pl quirk, not supported',
418    517 => 'link title with different quote type for inner quotes: title slot not supported',
419    518 => 'multi-line link title: title slot not supported',
420
421    // Pointy-bracket link destinations `<...>`. Rarely used; regex cost
422    // and interaction with raw-HTML detection outweigh the benefit.
423    496 => 'pointy-bracket link destination `<>`: not supported',
424    498 => 'pointy-bracket destination with spaces `<...>`: not supported',
425    500 => 'pointy-bracket destination with newline: not supported',
426    501 => 'pointy-bracket destination containing `)`: not supported',
427    502 => 'pointy-bracket destination with trailing backslash: not supported',
428    503 => 'malformed pointy-bracket destinations: renderer output differs',
429    507 => 'pointy-bracket destination wrapping unbalanced parens: not supported',
430
431    // Balanced-parens inside URL destinations.
432    505 => 'balanced-parens in URL destination: not supported (regex single-level)',
433
434    // Other URL-level edges.
435    495 => 'empty URL destination `[link]()`: pattern requires non-empty URL',
436    512 => 'link destination that parses as a title: edge case not supported',
437    337 => 'entity-decoded `&quot;` inside link URL slot: spec rejects the'
438         . ' link because the decoded `"` would split URL from title, but'
439         . ' GfmLink uses a permissive `[^)\n]+` URL slot and accepts the'
440         . ' whole run as the URL — strict GFM URL rejection not implemented',
441    497 => 'unquoted whitespace in URL slot `[link](/my uri)`: GfmLink truncates'
442         . ' at the first space and discards the remainder as a (would-be)'
443         . ' title; spec rejects the whole construct and emits literal text —'
444         . ' strict GFM URL rejection not implemented',
445
446    // Inherent single-pass-lexer limits for link text containing nested
447    // structures. These cannot be resolved inside one mode.
448    520 => 'link label with literal nested brackets `[link [foo [bar]]](/uri)`:'
449         . ' GfmLink label class forbids `[`/`]`, so the outer match fails —'
450         . ' same family as #522/#526',
451    522 => 'nested bracket forms inner link, outer falls back to literal',
452    523 => 'link label with backslash-escaped bracket `[link \\[bar](/uri)`:'
453         . ' GfmLink label class forbids `[` even when escaped — same family'
454         . ' as #522/#526',
455    524 => 'inline formatting inside link label `[link *foo **bar** `#`*](/uri)`:'
456         . ' GfmLink takes the label as a flat string and does not re-tokenize'
457         . ' inline spans — same family as #428/#442',
458    526 => 'nested links: inner is a link, outer falls back to literal',
459    527 => 'nested links inside emphasis: not supported',
460    529 => 'link text grouping vs. emphasis: leftmost-match cannot override',
461    530 => 'emphasis/bracket crossing: leftmost-match cannot override',
462    482 => 'emphasis/bracket crossing `*[bar*](/url)`: opener `*` precedes the'
463         . ' link, closer `*` falls inside the link label — GFM flanking'
464         . ' rejects the pair; DW takes the leftmost `*` as an emphasis'
465         . ' opener and never finds a closer (same family as #529/#530)',
466    483 => 'emphasis/bracket crossing `_foo [bar_](/url)`: closer `_` falls'
467         . ' inside link label — same family as #482/#529/#530',
468    428 => 'emphasis inside link label `*foo [*bar*](/url)*`: GfmLink takes'
469         . ' the label as a flat string (DW link instructions have no'
470         . ' re-parsed-inline label slot), so inner `*bar*` stays literal',
471    442 => 'emphasis inside link label `**foo [*bar*](/url)**`: same as #428'
472         . ' — link label is a flat string and inner `*bar*` is not'
473         . ' re-tokenized as emphasis',
474    532 => 'raw HTML inside link text: project-wide "no raw HTML" limit',
475    533 => 'code span inside link text: requires pre-scan pass (see #351)',
476    534 => 'autolink inside link text: raw `<URL>` autolinks not supported (see #356)',
477
478    // Reference links (`[text][id]`, `[text][]`, `[foo]` with matching
479    // `[foo]: url` definition). Not implemented: resolving forward
480    // references would require a two-pass parse, but DokuWiki's lexer is
481    // single-pass. Inline links `[text](url)` are the only supported
482    // form.
483    535 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
484    536 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
485    537 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
486    538 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
487    539 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
488    540 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
489    541 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
490    542 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
491    543 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
492    544 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
493    545 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
494    546 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
495    547 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
496    548 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
497    549 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
498    550 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
499    551 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
500    552 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
501    553 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
502    557 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
503    558 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
504    560 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
505    561 => 'collapsed reference link: forward-reference definitions not supported (single-pass lexer)',
506    562 => 'collapsed reference link: forward-reference definitions not supported (single-pass lexer)',
507    563 => 'collapsed reference link: forward-reference definitions not supported (single-pass lexer)',
508    564 => 'collapsed reference link: forward-reference definitions not supported (single-pass lexer)',
509    565 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)',
510    566 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)',
511    567 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)',
512    568 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)',
513    569 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)',
514    570 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)',
515    571 => 'shortcut reference link with escape: forward-reference definitions not supported (single-pass lexer)',
516    572 => 'shortcut reference link with emphasis: forward-reference definitions not supported (single-pass lexer)',
517    573 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
518    574 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
519    575 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
520    576 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
521    577 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
522    578 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
523    579 => 'reference link: forward-reference definitions not supported (single-pass lexer)',
524
525    // --------------------------------------------------------------------
526    // Inline image `![alt](url)`. The XHTML renderer's default media
527    // rendering diverges from GFM's bare <img> (it wraps in a details <a>
528    // with fetch.php/detail.php proxy URLs) — GfmSpecTest uses
529    // SpecCompatRenderer to emit spec-shape bare <img>, so only the
530    // parser-level or feature-level gaps remain as skips: title attribute
531    // (no DW slot), reference images, pointy-bracket destinations, nested
532    // brackets, and escape-dependent cases.
533    // --------------------------------------------------------------------
534
535    528 => 'image-as-alt with nested link `![[[foo](uri1)](uri2)](uri3)`: alt'
536         . ' class forbids brackets so the outer image match fails; the inner'
537         . ' `[foo](uri1)` matches as a regular link and the outer falls back'
538         . ' to literal — same family as #582/#583/#598',
539    580 => 'image with title attribute: GfmMedia discards titles (no DW slot)',
540    581 => 'reference-style image: forward-reference definitions not supported (single-pass lexer)',
541    582 => 'nested image-in-image `![foo ![bar](x)](y)`: alt class forbids brackets;'
542         . ' leftmost-match cannot reorder — outer falls back to literal (see #526)',
543    583 => 'link-in-image alt `![foo [bar](x)](y)`: alt class forbids brackets;'
544         . ' leftmost-match cannot reorder — outer falls back to literal (see #526)',
545    584 => 'collapsed reference-style image: forward-reference definitions not supported',
546    585 => 'full reference-style image: forward-reference definitions not supported',
547    587 => 'image with title attribute: title discarded (no DW slot)',
548    588 => 'pointy-bracket image destination `![alt](<url>)`: not supported (see GfmLink #496)',
549    590 => 'reference-style image: forward-reference definitions not supported',
550    591 => 'reference-style image (case-insensitive label): forward-reference definitions not supported',
551    592 => 'collapsed reference-style image `![foo][]`: forward-reference definitions not supported',
552    593 => 'collapsed reference-style image with emphasis in label: forward-reference definitions not supported',
553    594 => 'collapsed reference-style image (case-insensitive): forward-reference definitions not supported',
554    595 => 'reference-style image with intervening whitespace: forward-reference definitions not supported',
555    596 => 'shortcut reference-style image `![foo]`: forward-reference definitions not supported',
556    597 => 'shortcut reference-style image with emphasis: forward-reference definitions not supported',
557    598 => 'image with unescaped nested brackets `![[foo]]`: literal-fallback behavior not supported',
558    599 => 'shortcut reference-style image (case-insensitive): forward-reference definitions not supported',
559    600 => 'image-via-reference fallback `!\[foo]` with `[foo]: /url`: forward-reference definitions not supported (single-pass lexer)',
560    601 => 'image-via-reference fallback `\![foo]` with `[foo]: /url`: forward-reference definitions not supported (single-pass lexer)',
561
562    // --------------------------------------------------------------------
563    // ATX heading collisions with DokuWiki-specific behavior.
564    // --------------------------------------------------------------------
565    38 => 'ATX heading with leading spaces: GFM tolerates 0-3 spaces of'
566        . ' indent before the opener; we require the `#` at column 0.'
567        . ' Indent tolerance collides with DokuWiki\'s 2-space-indent'
568        . ' preformatted block and isn\'t worth untangling',
569    39 => 'indented code block: DokuWiki uses 2-space indent for'
570        . ' preformatted; GFM 4-space indented code blocks are not'
571        . ' implemented',
572    40 => 'indented code block: 4-space indent after a paragraph is a'
573        . ' continuation in GFM but preformatted in DokuWiki — not'
574        . ' implemented',
575    41 => 'ATX heading with leading spaces: second heading is indented'
576        . ' by 2 spaces; we require the `#` at column 0',
577    49 => 'empty ATX heading: DokuWiki\'s XHTML renderer deliberately'
578        . ' skips blank headings (blank() guard in Doku_Renderer_xhtml::header)',
579
580    // --------------------------------------------------------------------
581    // List items / Lists — list features GfmListblock deliberately does
582    // not implement. The simplifications are by design: indentation uses
583    // a fixed 2-space-multiple step starting at 0, lazy continuation is
584    // not supported, and the rewriter groups items by 'u'/'o' type only.
585    // The buckets are:
586    //
587    //  A. Extra spaces after the marker. CommonMark rolls them (up to
588    //     4) into the content column; we dedent at `marker_width + 1`,
589    //     collapsing the extras.
590    //  B. 1- or 3-space indent for nesting (we round down to nearest 2).
591    //  C. Lazy continuation (column-0 paragraph wrap inside an item).
592    //  D. Strict CommonMark loose/tight classification (every blank line
593    //     between items / inside items reclassifies; we use a simpler
594    //     single-paragraph-tight, multi-paragraph-loose rule).
595    //  E. Marker-character-change splits ordered lists ('.' vs ')') or
596    //     unordered ('-' vs '+' vs '*'). Our rewriter groups by 'u' / 'o'
597    //     type only, not by marker character.
598    //  F. List interrupting a paragraph without a blank line — requires a
599    //     multi-pass block parser to revisit prior text.
600    //
601    // Examples that depend on a pending mode (GfmQuote, GfmEscape, …) are
602    // intentionally NOT skipped — they remain visible failing tests until
603    // the mode lands.
604    // --------------------------------------------------------------------
605    // --------------------------------------------------------------------
606    // Block quotes — deliberate scope reductions vs. strict GFM. The
607    // unified GfmQuote mode (replacing DW Quote) covers `>` blockquotes
608    // for both DW and MD pages, but several CommonMark blockquote rules
609    // are out of scope:
610    //
611    // - 1-3 space indent before `>` (column-0-only policy, consistent
612    //   with GfmCode / GfmFile / GfmHeader).
613    // - Lazy continuation (paragraph text without `>` on continuation
614    //   lines). Same policy as GfmListblock — markers required on
615    //   every line.
616    // - Headers inside quotes — sub-parser excludes BASEONLY so header
617    //   instructions don't drive TOC/section-edit anchors that don't
618    //   compose with `<blockquote>`. Same rationale as GfmListblock's
619    //   header exclusion inside list items.
620    // - Setext-style block constructs (the `---` underline collides
621    //   with DW's HR rule).
622    //
623    // Examples that depend on still-pending modes (GfmHr) are
624    // intentionally NOT skipped — they stay visible until those modes
625    // land.
626    // --------------------------------------------------------------------
627    206 => 'block quotes: header inside quote — sub-parser excludes'
628         . ' BASEONLY (TOC / section-edit anchors do not compose with'
629         . ' `<blockquote>`). Same policy as GfmListblock for `<li>`.',
630    207 => 'block quotes: header inside quote with no space after `>` —'
631         . ' see #206 for the BASEONLY exclusion rationale.',
632    208 => 'block quotes: leading-space `>` (1-3 spaces of indent) —'
633         . ' column-0-only policy, consistent with GfmCode / GfmFile.',
634    210 => 'block quotes: lazy continuation `> # Foo\n> bar\nbaz` —'
635         . ' every quote line must begin with `>` at column 0. Same'
636         . ' policy as GfmListblock.',
637    211 => 'block quotes: lazy continuation `> bar\nbaz\n> foo` —'
638         . ' see #210.',
639    212 => 'block quotes: Setext heading underline `---` after `> foo`'
640         . ' — no Setext headings (the `---` collides with DW HR syntax).',
641    215 => 'block quotes: fenced code block split across blockquote'
642         . ' boundary — fence inside quote followed by non-`>` lines'
643         . ' depends on the same lazy-continuation rule we do not'
644         . ' implement (see #210).',
645    216 => 'block quotes: lazy continuation `> foo\n    - bar` — see #210.',
646    225 => 'block quotes: lazy continuation `> bar\nbaz` — see #210.',
647    227 => 'block quotes: lazy continuation `> bar\n>\nbaz` — see #210.',
648    228 => 'block quotes: lazy continuation in nested quote'
649         . ' `> > > foo\nbar` — see #210.',
650    229 => 'block quotes: lazy continuation across nested levels'
651         . ' `>>> foo\n> bar\n>>baz` — see #210.',
652
653    232 => 'list items: marker-width content-column alignment (A)',
654    235 => 'list items: marker-width content-column alignment (A)',
655    237 => 'list items: ordered list nested in `>>` with 3-space leading'
656         . ' indent and marker-width content column (B+A; see #208 for'
657         . ' the leading-`>` indent policy).',
658    238 => 'list items: bullet inside `>>` followed by leading-space'
659         . ' `  >  > two` continuation — column-0-only `>` policy plus'
660         . ' interior space inside the nested quote (B; see #208).',
661    241 => 'list items: marker-width content column for `1.  foo` with'
662         . ' fenced code, paragraph and blockquote at content column 4'
663         . ' (A; sub-blocks would also need to open at non-zero column).',
664    242 => 'list items: marker-width content column + indented code must'
665         . ' span multiple internal blank lines (A; the multi-blank'
666         . ' indented-code rule is a separate gap).',
667    249 => 'list items: marker-width-driven content-column alignment for `10. foo` (A)',
668    254 => 'list items: marker-width content-column alignment edge case (A)',
669    257 => 'list items: empty bullet line then content on the next line —'
670         . ' content column derived from next non-blank line\'s indent'
671         . ' (A sub-case).',
672    258 => 'list items: marker-width content-column for `1.  foo` (A)',
673    263 => 'list items: indent ambiguity at column 0/1/2 (B)',
674    264 => 'list items: 1-space-indent variation (B)',
675    265 => 'list items: marker-width with multi-line continuation (A)',
676    266 => 'list items: marker-width with multi-line continuation (A)',
677    267 => 'list items: lazy continuation (C)',
678    268 => 'list items: lazy continuation (C)',
679    270 => 'list items: lazy continuation across blank line (C+D)',
680    271 => 'list items: lazy continuation in nested quote-list-quote'
681         . ' (`> 1. > Blockquote` then `> continued here.`) (C; see #210).',
682    273 => 'list items: list interrupting a paragraph without blank line (F)',
683    376 => 'lone `*` on the line after `*foo bar` is taken as an empty list'
684         . ' marker by GfmListblock, breaking the paragraph; GFM keeps the'
685         . ' whole input as one paragraph because the trailing `*` does not'
686         . ' pair as emphasis. List-interrupts-paragraph (F), same family'
687         . ' as #273 / #284.',
688    275 => 'list items: 3-space indent rounds to 2 — sub-list under previous item (B)',
689    276 => 'list items: marker-width content-column with mixed types (A+E)',
690    277 => 'list items: nested markers on a single line (A)',
691    278 => 'list items: marker-character switch splits the list (E)',
692    281 => 'lists: marker-character change splits unordered list `-` -> `+` (E)',
693    282 => 'lists: ordered delimiter switch splits list `.` -> `)` (E)',
694    284 => 'lists: list interrupting paragraph without blank line (F)',
695    286 => 'lists: marker-width content-column alignment for ordered list (A)',
696    287 => 'lists: triple blank line + indented continuation in deeply nested item (D)',
697    288 => 'lists: marker-character change at deeper level (E)',
698    289 => 'lists: marker-character change with type switch (E)',
699    290 => 'lists: 1-space-indent variations of items, all stay top-level (B)',
700    291 => 'lists: 1-space-indent variations on ordered list (B)',
701    292 => 'lists: marker-character change splits inside nested list (E)',
702    293 => 'lists: marker-character change with mixed indent (E+B)',
703    294 => 'lists: lazy continuation across types (C+E)',
704    295 => 'lists: lazy continuation in nested list (C)',
705    296 => 'lists: lazy continuation across blank line (C+D)',
706    297 => 'lists: blank-line classification for loose/tight in nested list (D)',
707    298 => 'lists: blank-line classification (D)',
708    300 => 'lists: blank-line classification with marker change (D+E)',
709    301 => 'lists: blank-line classification + marker-width alignment (D+A)',
710    304 => 'lists: blank line between sub-list items affects loose/tight (D)',
711    305 => 'lists: blank line between deeply nested items (D)',
712    306 => 'lists: blank line at the end of a loose list affects classification (D)',
713
714    // --------------------------------------------------------------------
715    // Backslash-escape examples (§6.1) that fail for reasons unrelated to
716    // GfmEscape itself: renderer divergences, typography conversion, and
717    // already-skipped GFM features (autolinks, raw HTML, reference links,
718    // discarded link titles). The escape mechanic itself works.
719    // --------------------------------------------------------------------
720    308 => 'backslash escapes: apostrophe is rendered as `&#039;` by DW while'
721         . ' the spec expects a literal `\'` — renderer policy difference,'
722         . ' not an escape bug',
723    310 => 'backslash escapes: DW typography converts straight `"..."` to curly'
724         . ' quotes when $conf[typography] is on, diverging from spec output',
725    316 => 'backslash escapes inside angle-bracket autolinks: GFM autolink'
726         . ' `<URL>` form not implemented (see example 356)',
727    317 => 'backslash escapes inside raw HTML: raw HTML pass-through is not'
728         . ' supported by default (see example 354)',
729    318 => 'backslash escapes in link title: title attribute is discarded — DW'
730         . ' link instructions have no title slot',
731    319 => 'backslash escapes in reference-link definition: link reference'
732         . ' definitions not supported (single-pass lexer cannot resolve'
733         . ' forward references)',
734
735    // --------------------------------------------------------------------
736    // Raw HTML (§6.6) — inline raw HTML pass-through. Same project-wide
737    // decision as HTML blocks (#118-160): DokuWiki escapes `<` as `&lt;`
738    // by default; the `<html>` block is the opt-in. Examples #637 and
739    // #640 are intentionally NOT listed — the spec there expects literal
740    // `&lt;...&gt;` escaping for malformed tags, which DW also produces,
741    // so they pass naturally.
742    // --------------------------------------------------------------------
743    632 => 'raw HTML inline (open tag): raw HTML pass-through not supported',
744    633 => 'raw HTML inline (closing tag): raw HTML pass-through not supported',
745    634 => 'raw HTML inline (multi-line attributes): raw HTML pass-through not supported',
746    635 => 'raw HTML inline (line breaks in attributes): raw HTML pass-through not supported',
747    636 => 'raw HTML inline (custom tags / attribute syntax): raw HTML pass-through not supported',
748    638 => 'raw HTML inline (illegal attribute names): raw HTML pass-through not supported',
749    639 => 'raw HTML inline (illegal attribute values): raw HTML pass-through not supported',
750    641 => 'raw HTML inline (open and closing tags): raw HTML pass-through not supported',
751    642 => 'raw HTML inline (HTML comment): raw HTML pass-through not supported',
752    643 => 'raw HTML inline (invalid comment): raw HTML pass-through not supported',
753    644 => 'raw HTML inline (processing instruction): raw HTML pass-through not supported',
754    645 => 'raw HTML inline (declaration): raw HTML pass-through not supported',
755    646 => 'raw HTML inline (declaration single-letter name): raw HTML pass-through not supported',
756    647 => 'raw HTML inline (declaration EMPTY): raw HTML pass-through not supported',
757    648 => 'raw HTML inline (CDATA section): raw HTML pass-through not supported',
758    649 => 'raw HTML inline (entity reference inside attribute): raw HTML pass-through not supported',
759    650 => 'raw HTML inline (backslash escape inside attribute): raw HTML pass-through not supported',
760    651 => 'raw HTML inline (entity-escaped quote inside attribute): raw HTML pass-through not supported',
761    484 => 'raw HTML inline `<img …/>` adjacent to `*`: raw HTML pass-through not supported',
762    485 => 'raw HTML inline `<a href="**">` adjacent to `**`: raw HTML pass-through not supported',
763    486 => 'raw HTML inline `<a href="__">` adjacent to `__`: raw HTML pass-through not supported',
764
765    // --------------------------------------------------------------------
766    // Hard line breaks (GfmLinebreak) — both delimiter forms (two trailing
767    // spaces and `\` before newline) work in paragraphs, emphasis, and
768    // other inline containers. The skipped cases sit inside raw HTML tags,
769    // which DokuWiki does not pass through by default.
770    // --------------------------------------------------------------------
771    662 => 'hard line break inside a raw HTML tag: raw HTML pass-through not supported',
772    663 => 'hard line break (backslash form) inside a raw HTML tag — see'
773         . ' #662. Raw HTML out of scope.',
774];
775