3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-21 15:42:58 +01:00

Answer prose round 1: 1 🔴, 6 🟡 (0 misread); state the refusal beside the carry rule, date it, and fix the cause bullets and the message

This commit is contained in:
2026-11-04 19:42:55 +01:00
committed by Lillem4n
parent 18c35e0f78
commit b9fd34abfb
5 changed files with 16 additions and 11 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
`localId` as `data-local-id`. Every other node is an element of class `adf-carry` holding the
node's JSON in `data-adf` and showing its content, links included. Every URL is written as the
ADF holds it, `javascript:` included: sanitize HTML from an author you do not trust before
showing it. It refuses an inline card a link marks, as `unsupported-node-shape`: Atlassian's schema gives a
showing it. `adfToHtml` refuses an inline card a link marks, as `unsupported-node-shape`: Atlassian's schema gives a
card no link mark, and HTML nests no link in a link.
- `htmlToAdf` reads `adfToHtml`'s HTML back to the document it came from, a carry element from its
`data-adf`. It reads that HTML as a browser's `innerHTML` writes it too (a raw `"` in text,