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 `<`', 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 327 => 'raw HTML tag with entity in attribute: raw HTML pass-through not supported', 302 354 => 'raw HTML tag pass-through: raw HTML pass-through not supported', 303 605 => 'angle-bracket autolink with `MAILTO:` scheme: Externallink' 304 . ' builds one regex per scheme listed in `conf/scheme.conf`, and' 305 . ' `mailto` is not in the default allow-list. The brackets fall' 306 . ' through to default escaping and the URL is emitted as literal' 307 . ' text — same security policy as DokuWiki\'s bare-URL detection.', 308 606 => 'angle-bracket autolink with `a+b+c` scheme: scheme is not in' 309 . ' DokuWiki\'s `conf/scheme.conf` allow-list (see #605).', 310 607 => 'angle-bracket autolink with `made-up-scheme`: scheme is not in' 311 . ' DokuWiki\'s `conf/scheme.conf` allow-list (see #605).', 312 609 => 'angle-bracket autolink with `localhost:5001/foo`: `localhost` is' 313 . ' not in DokuWiki\'s `conf/scheme.conf` allow-list (see #605).', 314 315 // -------------------------------------------------------------------- 316 // CommonMark §6.2 flanking-delimiter analysis — deliberately not 317 // implemented. DokuWiki's regex lexer uses leftmost-match and cannot 318 // apply CommonMark's left/right-flanking rules that distinguish 319 // word-chars, whitespace, and punctuation for `*`/`_` delimiters, or 320 // the "multiple-of-3" rule for overlapping runs. These examples all 321 // rely on that machinery. 322 // -------------------------------------------------------------------- 323 324 // Unicode whitespace in flanking context. Our `\s` is ASCII-only 325 // because the lexer doesn't set the PCRE `u` flag. 326 363 => 'Unicode whitespace (U+00A0) flanking — requires u-flag-aware regex', 327 328 // Punctuation-adjacent flanking for `*` / `_` / `**` / `__` 329 362 => 'flanking: punctuation-adjacent `*` (left-flanking vs. right-flanking)', 330 368 => 'flanking: punctuation-adjacent `_`', 331 372 => 'flanking: intraword `_` with punctuation inside', 332 377 => 'flanking: `*` followed by `(` requires punctuation-aware flanking', 333 378 => 'flanking: nested `*(*foo*)*` requires flanking + balanced-pair analysis', 334 382 => 'flanking: nested `_(_foo_)_` requires flanking + balanced-pair analysis', 335 389 => 'flanking: punctuation-adjacent `**`', 336 394 => 'flanking: punctuation-adjacent `__`', 337 401 => 'flanking: `**` followed by `(`', 338 404 => 'flanking: nested `*bar*` inside `**foo ... foo**` with punctuation', 339 407 => 'flanking: `__` followed by `(`', 340 470 => 'flanking: nested `*_foo_*` requires balanced-pair analysis', 341 472 => 'flanking: nested `_*foo*_` requires balanced-pair analysis', 342 343 // Intraword `__` strong (even multibyte) — flanking rule for `_` requires 344 // examining whether the delimiter run is word-boundary-flanking, which our 345 // simple lookbehind/lookahead approximation doesn't fully match. 346 395 => 'flanking: intraword `__` (`foo__bar__`) — left-flanking vs right-flanking', 347 396 => 'flanking: intraword `__` across digits (`5__6__78`)', 348 397 => 'flanking: intraword `__` with Cyrillic', 349 398 => 'flanking: `__foo, __bar__, baz__` — flanking + balanced pairing', 350 409 => 'flanking: `__foo__bar` — intraword close', 351 410 => 'flanking: intraword `__` with Cyrillic (leading)', 352 411 => 'flanking: `__foo__bar__baz__` — multiple `__` pairs with flanking', 353 412 => 'flanking: `__(bar)__.` — punctuation-adjacent', 354 355 // Overlapping / multiple-of-3 rule for runs 356 416 => 'CommonMark rule 9 (overlapping same-delimiter `_foo _bar_ baz_`)', 357 417 => 'CommonMark overlapping `_` / `__` with flanking', 358 418 => 'CommonMark overlapping `*foo *bar**` — multiple-of-3 rule', 359 419 => 'CommonMark nested `*foo **bar** baz*` — balanced-pair analysis', 360 421 => 'CommonMark overlapping `*foo**bar*` — multiple-of-3', 361 422 => 'CommonMark nested `***foo** bar*` — triple-delimiter analysis', 362 423 => 'CommonMark nested `*foo **bar***` — triple-delimiter analysis', 363 424 => 'CommonMark nested `*foo**bar***` — triple-delimiter analysis', 364 425 => 'CommonMark triple `foo***bar***baz` — triple-delimiter analysis', 365 426 => 'CommonMark long delimiter runs `foo******bar*********baz`', 366 427 => 'CommonMark deeply nested `*foo **bar *baz* bim** bop*`', 367 434 => 'CommonMark overlapping `__foo __bar__ baz__` — multiple-of-3', 368 435 => 'CommonMark `____foo__ bar__` — leading long delimiter run', 369 436 => 'CommonMark `**foo **bar****` — trailing long delimiter run', 370 439 => 'CommonMark nested `***foo* bar**` — triple-delimiter', 371 440 => 'CommonMark nested `**foo *bar***` — triple-delimiter', 372 441 => 'CommonMark deeply nested `**foo *bar **baz** bim* bop**`', 373 374 // `__foo_` / `_foo__` — mixing `_` and `__` requires flanking to decide 375 // which delimiter pairs open/close. 376 463 => 'flanking: `__foo_` — mixed `_`/`__` pairing', 377 464 => 'flanking: `_foo__` — mixed `_`/`__` pairing', 378 465 => 'flanking: `___foo__` — delimiter-run length analysis', 379 466 => 'flanking: `____foo_` — delimiter-run length analysis', 380 467 => 'flanking: `__foo___` — delimiter-run length analysis', 381 468 => 'flanking: `_foo____` — delimiter-run length analysis', 382 383 // Long delimiter runs require excess-drop logic (2 outer chars dropped 384 // from each side). Stack-based pairing needed — out of scope. 385 473 => 'CommonMark `****foo****` — excess-drop (4+4 → strong only)', 386 474 => 'CommonMark `____foo____` — excess-drop (4+4 → strong only)', 387 475 => 'CommonMark `******foo******` — excess-drop (6+6 → strong only)', 388 477 => 'CommonMark `_____foo_____` — excess-drop (5+5 → em+strong, 2 dropped each side)', 389 390 // Overlapping / crossing delimiters 391 478 => 'CommonMark `*foo _bar* baz_` — overlapping different delimiters', 392 479 => 'CommonMark `*foo __bar *baz bim__ bam*` — crossing delimiters', 393 480 => 'CommonMark `**foo **bar baz**` — overlapping same delimiter', 394 395 // Emphasis vs. angle-bracket autolink: same root cause as #351 (the 396 // single-pass lexer matches leftmost-first and cannot reject an 397 // earlier `**`/`__` opener because a later `<URL>` autolink would 398 // consume its closer). 399 489 => 'emphasis vs. angle-bracket autolink `**a<http://...?q=**>`:' 400 . ' leftmost-match cannot reorder spans — see #351 for the' 401 . ' single-pass-lexer rationale.', 402 490 => 'emphasis vs. angle-bracket autolink `__a<http://...?q=__>`:' 403 . ' leftmost-match cannot reorder spans — see #351.', 404 405 // -------------------------------------------------------------------- 406 // Inline link `[text](url)` — features GfmLink deliberately does not 407 // implement. Either rarely-used syntax paid for with disproportionate 408 // regex complexity, or single-pass-lexer limits that can't be worked 409 // around inside one mode. 410 // -------------------------------------------------------------------- 411 412 // GFM link title attribute (`"title"` / `'title'` / `(title)` after 413 // the URL). Parses cleanly but is discarded: DokuWiki's link handler 414 // instructions have no title-attribute slot, and plumbing one through 415 // every renderer is out of scope for GfmLink. 416 328 => 'link with entity-decoded URL and title: URL side decodes correctly,' 417 . ' but the title attribute is discarded — DokuWiki link instructions' 418 . ' have no title slot.', 419 493 => 'link title attribute: GfmLink parses but discards — DokuWiki link instructions have no title slot', 420 513 => 'link title attribute (three quoting styles): discarded by GfmLink', 421 514 => 'link title with HTML-entity escape `"title \\"""`: title slot not supported (see #493)', 422 515 => 'link title separated by non-breaking space: title slot not supported', 423 516 => 'link title with nested balanced quotes: Markdown.pl quirk, not supported', 424 517 => 'link title with different quote type for inner quotes: title slot not supported', 425 518 => 'multi-line link title: title slot not supported', 426 427 // Pointy-bracket link destinations `<...>`. Rarely used; regex cost 428 // and interaction with raw-HTML detection outweigh the benefit. 429 496 => 'pointy-bracket link destination `<>`: not supported', 430 498 => 'pointy-bracket destination with spaces `<...>`: not supported', 431 500 => 'pointy-bracket destination with newline: not supported', 432 501 => 'pointy-bracket destination containing `)`: not supported', 433 502 => 'pointy-bracket destination with trailing backslash: not supported', 434 503 => 'malformed pointy-bracket destinations: renderer output differs', 435 507 => 'pointy-bracket destination wrapping unbalanced parens: not supported', 436 437 // Balanced-parens inside URL destinations. 438 505 => 'balanced-parens in URL destination: not supported (regex single-level)', 439 440 // Other URL-level edges. 441 495 => 'empty URL destination `[link]()`: pattern requires non-empty URL', 442 512 => 'link destination that parses as a title: edge case not supported', 443 337 => 'entity-decoded `"` inside link URL slot: spec rejects the' 444 . ' link because the decoded `"` would split URL from title, but' 445 . ' GfmLink uses a permissive `[^)\n]+` URL slot and accepts the' 446 . ' whole run as the URL — strict GFM URL rejection not implemented', 447 497 => 'unquoted whitespace in URL slot `[link](/my uri)`: GfmLink truncates' 448 . ' at the first space and discards the remainder as a (would-be)' 449 . ' title; spec rejects the whole construct and emits literal text —' 450 . ' strict GFM URL rejection not implemented', 451 452 // Inherent single-pass-lexer limits for link text containing nested 453 // structures. These cannot be resolved inside one mode. 454 520 => 'link label with literal nested brackets `[link [foo [bar]]](/uri)`:' 455 . ' GfmLink label class forbids `[`/`]`, so the outer match fails —' 456 . ' same family as #522/#526', 457 522 => 'nested bracket forms inner link, outer falls back to literal', 458 523 => 'link label with backslash-escaped bracket `[link \\[bar](/uri)`:' 459 . ' GfmLink label class forbids `[` even when escaped — same family' 460 . ' as #522/#526', 461 524 => 'inline formatting inside link label `[link *foo **bar** `#`*](/uri)`:' 462 . ' GfmLink takes the label as a flat string and does not re-tokenize' 463 . ' inline spans — same family as #428/#442', 464 526 => 'nested links: inner is a link, outer falls back to literal', 465 527 => 'nested links inside emphasis: not supported', 466 529 => 'link text grouping vs. emphasis: leftmost-match cannot override', 467 530 => 'emphasis/bracket crossing: leftmost-match cannot override', 468 482 => 'emphasis/bracket crossing `*[bar*](/url)`: opener `*` precedes the' 469 . ' link, closer `*` falls inside the link label — GFM flanking' 470 . ' rejects the pair; DW takes the leftmost `*` as an emphasis' 471 . ' opener and never finds a closer (same family as #529/#530)', 472 483 => 'emphasis/bracket crossing `_foo [bar_](/url)`: closer `_` falls' 473 . ' inside link label — same family as #482/#529/#530', 474 428 => 'emphasis inside link label `*foo [*bar*](/url)*`: GfmLink takes' 475 . ' the label as a flat string (DW link instructions have no' 476 . ' re-parsed-inline label slot), so inner `*bar*` stays literal', 477 442 => 'emphasis inside link label `**foo [*bar*](/url)**`: same as #428' 478 . ' — link label is a flat string and inner `*bar*` is not' 479 . ' re-tokenized as emphasis', 480 532 => 'raw HTML inside link text: project-wide "no raw HTML" limit', 481 533 => 'code span inside link text: requires pre-scan pass (see #351)', 482 534 => 'autolink inside link text: raw `<URL>` autolinks not supported (see #356)', 483 484 // Reference links (`[text][id]`, `[text][]`, `[foo]` with matching 485 // `[foo]: url` definition). Not implemented: resolving forward 486 // references would require a two-pass parse, but DokuWiki's lexer is 487 // single-pass. Inline links `[text](url)` are the only supported 488 // form. 489 535 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 490 536 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 491 537 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 492 538 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 493 539 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 494 540 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 495 541 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 496 542 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 497 543 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 498 544 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 499 545 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 500 546 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 501 547 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 502 548 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 503 549 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 504 550 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 505 551 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 506 552 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 507 553 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 508 557 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 509 558 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 510 560 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 511 561 => 'collapsed reference link: forward-reference definitions not supported (single-pass lexer)', 512 562 => 'collapsed reference link: forward-reference definitions not supported (single-pass lexer)', 513 563 => 'collapsed reference link: forward-reference definitions not supported (single-pass lexer)', 514 564 => 'collapsed reference link: forward-reference definitions not supported (single-pass lexer)', 515 565 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)', 516 566 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)', 517 567 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)', 518 568 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)', 519 569 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)', 520 570 => 'shortcut reference link: forward-reference definitions not supported (single-pass lexer)', 521 571 => 'shortcut reference link with escape: forward-reference definitions not supported (single-pass lexer)', 522 572 => 'shortcut reference link with emphasis: forward-reference definitions not supported (single-pass lexer)', 523 573 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 524 574 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 525 575 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 526 576 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 527 577 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 528 578 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 529 579 => 'reference link: forward-reference definitions not supported (single-pass lexer)', 530 531 // -------------------------------------------------------------------- 532 // Inline image ``. The XHTML renderer's default media 533 // rendering diverges from GFM's bare <img> (it wraps in a details <a> 534 // with fetch.php/detail.php proxy URLs) — GfmSpecTest uses 535 // SpecCompatRenderer to emit spec-shape bare <img>, so only the 536 // parser-level or feature-level gaps remain as skips: title attribute 537 // (no DW slot), reference images, pointy-bracket destinations, nested 538 // brackets, and escape-dependent cases. 539 // -------------------------------------------------------------------- 540 541 528 => 'image-as-alt with nested link `](uri2)](uri3)`: alt' 542 . ' class forbids brackets so the outer image match fails; the inner' 543 . ' `[foo](uri1)` matches as a regular link and the outer falls back' 544 . ' to literal — same family as #582/#583/#598', 545 580 => 'image with title attribute: GfmMedia discards titles (no DW slot)', 546 581 => 'reference-style image: forward-reference definitions not supported (single-pass lexer)', 547 582 => 'nested image-in-image `](y)`: alt class forbids brackets;' 548 . ' leftmost-match cannot reorder — outer falls back to literal (see #526)', 549 583 => 'link-in-image alt `](y)`: alt class forbids brackets;' 550 . ' leftmost-match cannot reorder — outer falls back to literal (see #526)', 551 584 => 'collapsed reference-style image: forward-reference definitions not supported', 552 585 => 'full reference-style image: forward-reference definitions not supported', 553 587 => 'image with title attribute: title discarded (no DW slot)', 554 588 => 'pointy-bracket image destination ``: not supported (see GfmLink #496)', 555 590 => 'reference-style image: forward-reference definitions not supported', 556 591 => 'reference-style image (case-insensitive label): forward-reference definitions not supported', 557 592 => 'collapsed reference-style image `![foo][]`: forward-reference definitions not supported', 558 593 => 'collapsed reference-style image with emphasis in label: forward-reference definitions not supported', 559 594 => 'collapsed reference-style image (case-insensitive): forward-reference definitions not supported', 560 595 => 'reference-style image with intervening whitespace: forward-reference definitions not supported', 561 596 => 'shortcut reference-style image `![foo]`: forward-reference definitions not supported', 562 597 => 'shortcut reference-style image with emphasis: forward-reference definitions not supported', 563 598 => 'image with unescaped nested brackets `![[foo]]`: literal-fallback behavior not supported', 564 599 => 'shortcut reference-style image (case-insensitive): forward-reference definitions not supported', 565 600 => 'image-via-reference fallback `!\[foo]` with `[foo]: /url`: forward-reference definitions not supported (single-pass lexer)', 566 601 => 'image-via-reference fallback `\![foo]` with `[foo]: /url`: forward-reference definitions not supported (single-pass lexer)', 567 568 // -------------------------------------------------------------------- 569 // ATX heading collisions with DokuWiki-specific behavior. 570 // -------------------------------------------------------------------- 571 38 => 'ATX heading with leading spaces: GFM tolerates 0-3 spaces of' 572 . ' indent before the opener; we require the `#` at column 0.' 573 . ' Indent tolerance collides with DokuWiki\'s 2-space-indent' 574 . ' preformatted block and isn\'t worth untangling', 575 39 => 'indented code block: DokuWiki uses 2-space indent for' 576 . ' preformatted; GFM 4-space indented code blocks are not' 577 . ' implemented', 578 40 => 'indented code block: 4-space indent after a paragraph is a' 579 . ' continuation in GFM but preformatted in DokuWiki — not' 580 . ' implemented', 581 41 => 'ATX heading with leading spaces: second heading is indented' 582 . ' by 2 spaces; we require the `#` at column 0', 583 49 => 'empty ATX heading: DokuWiki\'s XHTML renderer deliberately' 584 . ' skips blank headings (blank() guard in Doku_Renderer_xhtml::header)', 585 586 // -------------------------------------------------------------------- 587 // List items / Lists — list features GfmListblock deliberately does 588 // not implement. The simplifications are by design: indentation uses 589 // a fixed 2-space-multiple step starting at 0, lazy continuation is 590 // not supported, and the rewriter groups items by 'u'/'o' type only. 591 // The buckets are: 592 // 593 // A. Extra spaces after the marker. CommonMark rolls them (up to 594 // 4) into the content column; we dedent at `marker_width + 1`, 595 // collapsing the extras. 596 // B. 1- or 3-space indent for nesting (we round down to nearest 2). 597 // C. Lazy continuation (column-0 paragraph wrap inside an item). 598 // D. Strict CommonMark loose/tight classification (every blank line 599 // between items / inside items reclassifies; we use a simpler 600 // single-paragraph-tight, multi-paragraph-loose rule). 601 // E. Marker-character-change splits ordered lists ('.' vs ')') or 602 // unordered ('-' vs '+' vs '*'). Our rewriter groups by 'u' / 'o' 603 // type only, not by marker character. 604 // F. List interrupting a paragraph without a blank line — requires a 605 // multi-pass block parser to revisit prior text. 606 // 607 // Examples that depend on a pending mode (GfmQuote, GfmEscape, …) are 608 // intentionally NOT skipped — they remain visible failing tests until 609 // the mode lands. 610 // -------------------------------------------------------------------- 611 // -------------------------------------------------------------------- 612 // Block quotes — deliberate scope reductions vs. strict GFM. The 613 // unified GfmQuote mode (replacing DW Quote) covers `>` blockquotes 614 // for both DW and MD pages, but several CommonMark blockquote rules 615 // are out of scope: 616 // 617 // - 1-3 space indent before `>` (column-0-only policy, consistent 618 // with GfmCode / GfmFile / GfmHeader). 619 // - Lazy continuation (paragraph text without `>` on continuation 620 // lines). Same policy as GfmListblock — markers required on 621 // every line. 622 // - Headers inside quotes — sub-parser excludes BASEONLY so header 623 // instructions don't drive TOC/section-edit anchors that don't 624 // compose with `<blockquote>`. Same rationale as GfmListblock's 625 // header exclusion inside list items. 626 // - Setext-style block constructs (the `---` underline collides 627 // with DW's HR rule). 628 // 629 // Examples that depend on still-pending modes (GfmHr) are 630 // intentionally NOT skipped — they stay visible until those modes 631 // land. 632 // -------------------------------------------------------------------- 633 206 => 'block quotes: header inside quote — sub-parser excludes' 634 . ' BASEONLY (TOC / section-edit anchors do not compose with' 635 . ' `<blockquote>`). Same policy as GfmListblock for `<li>`.', 636 207 => 'block quotes: header inside quote with no space after `>` —' 637 . ' see #206 for the BASEONLY exclusion rationale.', 638 208 => 'block quotes: leading-space `>` (1-3 spaces of indent) —' 639 . ' column-0-only policy, consistent with GfmCode / GfmFile.', 640 210 => 'block quotes: lazy continuation `> # Foo\n> bar\nbaz` —' 641 . ' every quote line must begin with `>` at column 0. Same' 642 . ' policy as GfmListblock.', 643 211 => 'block quotes: lazy continuation `> bar\nbaz\n> foo` —' 644 . ' see #210.', 645 212 => 'block quotes: Setext heading underline `---` after `> foo`' 646 . ' — no Setext headings (the `---` collides with DW HR syntax).', 647 215 => 'block quotes: fenced code block split across blockquote' 648 . ' boundary — fence inside quote followed by non-`>` lines' 649 . ' depends on the same lazy-continuation rule we do not' 650 . ' implement (see #210).', 651 216 => 'block quotes: lazy continuation `> foo\n - bar` — see #210.', 652 225 => 'block quotes: lazy continuation `> bar\nbaz` — see #210.', 653 227 => 'block quotes: lazy continuation `> bar\n>\nbaz` — see #210.', 654 228 => 'block quotes: lazy continuation in nested quote' 655 . ' `> > > foo\nbar` — see #210.', 656 229 => 'block quotes: lazy continuation across nested levels' 657 . ' `>>> foo\n> bar\n>>baz` — see #210.', 658 659 232 => 'list items: marker-width content-column alignment (A)', 660 235 => 'list items: marker-width content-column alignment (A)', 661 237 => 'list items: ordered list nested in `>>` with 3-space leading' 662 . ' indent and marker-width content column (B+A; see #208 for' 663 . ' the leading-`>` indent policy).', 664 238 => 'list items: bullet inside `>>` followed by leading-space' 665 . ' ` > > two` continuation — column-0-only `>` policy plus' 666 . ' interior space inside the nested quote (B; see #208).', 667 241 => 'list items: marker-width content column for `1. foo` with' 668 . ' fenced code, paragraph and blockquote at content column 4' 669 . ' (A; sub-blocks would also need to open at non-zero column).', 670 242 => 'list items: marker-width content column + indented code must' 671 . ' span multiple internal blank lines (A; the multi-blank' 672 . ' indented-code rule is a separate gap).', 673 249 => 'list items: marker-width-driven content-column alignment for `10. foo` (A)', 674 254 => 'list items: marker-width content-column alignment edge case (A)', 675 257 => 'list items: empty bullet line then content on the next line —' 676 . ' content column derived from next non-blank line\'s indent' 677 . ' (A sub-case).', 678 258 => 'list items: marker-width content-column for `1. foo` (A)', 679 263 => 'list items: indent ambiguity at column 0/1/2 (B)', 680 264 => 'list items: 1-space-indent variation (B)', 681 265 => 'list items: marker-width with multi-line continuation (A)', 682 266 => 'list items: marker-width with multi-line continuation (A)', 683 267 => 'list items: lazy continuation (C)', 684 268 => 'list items: lazy continuation (C)', 685 270 => 'list items: lazy continuation across blank line (C+D)', 686 271 => 'list items: lazy continuation in nested quote-list-quote' 687 . ' (`> 1. > Blockquote` then `> continued here.`) (C; see #210).', 688 273 => 'list items: list interrupting a paragraph without blank line (F)', 689 376 => 'lone `*` on the line after `*foo bar` is taken as an empty list' 690 . ' marker by GfmListblock, breaking the paragraph; GFM keeps the' 691 . ' whole input as one paragraph because the trailing `*` does not' 692 . ' pair as emphasis. List-interrupts-paragraph (F), same family' 693 . ' as #273 / #284.', 694 275 => 'list items: 3-space indent rounds to 2 — sub-list under previous item (B)', 695 276 => 'list items: marker-width content-column with mixed types (A+E)', 696 277 => 'list items: nested markers on a single line (A)', 697 278 => 'list items: marker-character switch splits the list (E)', 698 281 => 'lists: marker-character change splits unordered list `-` -> `+` (E)', 699 282 => 'lists: ordered delimiter switch splits list `.` -> `)` (E)', 700 284 => 'lists: list interrupting paragraph without blank line (F)', 701 286 => 'lists: marker-width content-column alignment for ordered list (A)', 702 287 => 'lists: triple blank line + indented continuation in deeply nested item (D)', 703 288 => 'lists: marker-character change at deeper level (E)', 704 289 => 'lists: marker-character change with type switch (E)', 705 290 => 'lists: 1-space-indent variations of items, all stay top-level (B)', 706 291 => 'lists: 1-space-indent variations on ordered list (B)', 707 292 => 'lists: marker-character change splits inside nested list (E)', 708 293 => 'lists: marker-character change with mixed indent (E+B)', 709 294 => 'lists: lazy continuation across types (C+E)', 710 295 => 'lists: lazy continuation in nested list (C)', 711 296 => 'lists: lazy continuation across blank line (C+D)', 712 297 => 'lists: blank-line classification for loose/tight in nested list (D)', 713 298 => 'lists: blank-line classification (D)', 714 300 => 'lists: blank-line classification with marker change (D+E)', 715 301 => 'lists: blank-line classification + marker-width alignment (D+A)', 716 304 => 'lists: blank line between sub-list items affects loose/tight (D)', 717 305 => 'lists: blank line between deeply nested items (D)', 718 306 => 'lists: blank line at the end of a loose list affects classification (D)', 719 720 // -------------------------------------------------------------------- 721 // Backslash-escape examples (§6.1) that fail for reasons unrelated to 722 // GfmEscape itself: renderer divergences, typography conversion, and 723 // already-skipped GFM features (autolinks, raw HTML, reference links, 724 // discarded link titles). The escape mechanic itself works. 725 // -------------------------------------------------------------------- 726 316 => 'backslash escapes inside angle-bracket autolinks: GFM autolink' 727 . ' `<URL>` form not implemented (see example 356)', 728 317 => 'backslash escapes inside raw HTML: raw HTML pass-through is not' 729 . ' supported by default (see example 354)', 730 318 => 'backslash escapes in link title: title attribute is discarded — DW' 731 . ' link instructions have no title slot', 732 319 => 'backslash escapes in reference-link definition: link reference' 733 . ' definitions not supported (single-pass lexer cannot resolve' 734 . ' forward references)', 735 736 // -------------------------------------------------------------------- 737 // Raw HTML (§6.6) — inline raw HTML pass-through. Same project-wide 738 // decision as HTML blocks (#118-160): DokuWiki escapes `<` as `<` 739 // by default; the `<html>` block is the opt-in. Examples #637 and 740 // #640 are intentionally NOT listed — the spec there expects literal 741 // `<...>` escaping for malformed tags, which DW also produces, 742 // so they pass naturally. 743 // -------------------------------------------------------------------- 744 632 => 'raw HTML inline (open tag): raw HTML pass-through not supported', 745 633 => 'raw HTML inline (closing tag): raw HTML pass-through not supported', 746 634 => 'raw HTML inline (multi-line attributes): raw HTML pass-through not supported', 747 635 => 'raw HTML inline (line breaks in attributes): raw HTML pass-through not supported', 748 636 => 'raw HTML inline (custom tags / attribute syntax): raw HTML pass-through not supported', 749 638 => 'raw HTML inline (illegal attribute names): raw HTML pass-through not supported', 750 639 => 'raw HTML inline (illegal attribute values): raw HTML pass-through not supported', 751 641 => 'raw HTML inline (open and closing tags): raw HTML pass-through not supported', 752 642 => 'raw HTML inline (HTML comment): raw HTML pass-through not supported', 753 643 => 'raw HTML inline (invalid comment): raw HTML pass-through not supported', 754 644 => 'raw HTML inline (processing instruction): raw HTML pass-through not supported', 755 645 => 'raw HTML inline (declaration): raw HTML pass-through not supported', 756 646 => 'raw HTML inline (declaration single-letter name): raw HTML pass-through not supported', 757 647 => 'raw HTML inline (declaration EMPTY): raw HTML pass-through not supported', 758 648 => 'raw HTML inline (CDATA section): raw HTML pass-through not supported', 759 649 => 'raw HTML inline (entity reference inside attribute): raw HTML pass-through not supported', 760 650 => 'raw HTML inline (backslash escape inside attribute): raw HTML pass-through not supported', 761 651 => 'raw HTML inline (entity-escaped quote inside attribute): raw HTML pass-through not supported', 762 484 => 'raw HTML inline `<img …/>` adjacent to `*`: raw HTML pass-through not supported', 763 485 => 'raw HTML inline `<a href="**">` adjacent to `**`: raw HTML pass-through not supported', 764 486 => 'raw HTML inline `<a href="__">` adjacent to `__`: raw HTML pass-through not supported', 765 766 // -------------------------------------------------------------------- 767 // Hard line breaks (GfmLinebreak) — both delimiter forms (two trailing 768 // spaces and `\` before newline) work in paragraphs, emphasis, and 769 // other inline containers. The skipped cases sit inside raw HTML tags, 770 // which DokuWiki does not pass through by default. 771 // -------------------------------------------------------------------- 772 662 => 'hard line break inside a raw HTML tag: raw HTML pass-through not supported', 773 663 => 'hard line break (backslash form) inside a raw HTML tag — see' 774 . ' #662. Raw HTML out of scope.', 775]; 776