3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 06:35:44 +01:00

Answer product-owner round 1: 0 🔴, 1 🟡 (0 misread); tell a caller who only holds the ADF to keep it read-only, and give the real reason

This commit is contained in:
2026-11-04 19:42:42 +01:00
parent 6023f1c41a
commit e2fe71de8a
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -646,8 +646,9 @@ Every call can raise these:
twice, a block or a non-text inline node holding `text`, or a leaf block or a non-text inline node
holding `content`. Keep the ADF and show the document read-only; where you built the ADF, fix
what the message names.
- **Writing, in `adfToHtml`**: an inline card marked by a link, which Atlassian's schema does not
allow. Remove the mark; where you hold the ADF, the message's path names the card.
- **Writing, in `adfToHtml`**: an inline card marked by a link: Atlassian's schema gives a card no
link mark, and HTML nests no link in a link. Keep the ADF and show the document read-only; where
you built the ADF, remove the link mark from the card the error's `path` names.
- **Writing, in `adfToPortableMarkdown`**: a line or task list the portable writer cannot spell.
This is a bug in this library: report it.
- **Past the engine's longest string**: