3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-18 22:25:44 +01:00

Literal brackets put nothing inside a mark, so the nested-link check runs ahead of both guards

This commit is contained in:
2026-09-19 02:21:38 +02:00
parent 508851b953
commit ff59d737c4
5 changed files with 32 additions and 16 deletions
+3 -3
View File
@@ -120,9 +120,9 @@ emit refuses:
continuing past a marker change stays one list against CommonMark's two, a shortcut
reference matching its definition only under Unicode case folding stays unresolved, and a link
whose text holds an autolink keeps the inner link and leaves the outer brackets literal text,
where the reference nests one `<a>` inside another against the spec's own prose. The first three
are pinned `pending` in `corpus/commonmark-spec/exceptions.json`; the suite holds no example of
the fourth.
which the spec requires and the reference implementation itself breaks, nesting one `<a>` in the
other. The first three are pinned `pending` in `corpus/commonmark-spec/exceptions.json`; the
suite holds no example of the fourth.
- Raw HTML in markdown input is an error result, never a silent drop — a tag, a comment and a
processing instruction alike. ADF holds no raw-HTML node; the element mapping ships at `0.2.0`.
- Not every document converts back: `adfToMarkdown` is partial on valid ADF — a text node holding