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

Say the card refusal holds only in a block written as an element

This commit is contained in:
2026-11-04 19:52:37 +01:00
parent be5d177a62
commit c06d5a3e99
3 changed files with 10 additions and 8 deletions
+3 -3
View File
@@ -107,9 +107,9 @@ later release writes it as its own element.
- Characters HTML cannot hold are dropped.
- A node rides the carry where it holds a mark or a key its element does not write, an attribute
its type does not hold as that kind, an empty `attrs`, `content` or `marks`, or a value its
element cannot hold. The exception is an inline card a link marks, which `adfToHtml` refuses as
`unsupported-node-shape`: Atlassian's schema gives a card no link mark, and HTML nests no link in
a link.
element cannot hold. The exception is an inline card a link marks, in a block written as an element:
`adfToHtml` refuses it as `unsupported-node-shape`, since Atlassian's schema gives a card no link
mark and HTML nests no link in a link. In a carried block it rides the carry.
- text holding no character, or a character HTML cannot hold; text holding a mark twice, or a
mark with attributes besides a link's `href` and `title`;
- an unmarked text node straight after one written as plain text, which would read back as one;