3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 23:25:43 +01:00

Answer stability round 3: walk an array's elements as the guards do

This commit is contained in:
2026-10-04 17:18:03 +02:00
parent 7cb002a8b6
commit 576e1641f9
3 changed files with 14 additions and 4 deletions
+3 -1
View File
@@ -32,7 +32,9 @@
- Fix an image inside another image's description: it flattens into the alt text, where it was
refused.
- Fix a cyclic document, in which an object holds itself: `adfToMarkdown` and `adfToPlainMarkdown`
refuse it as `not-an-adf-document` and `isAdfDocument` returns `false`, where all three hung.
refuse it as `not-an-adf-document` and `isAdfDocument` returns `false`, where all three hung. A
node or mark whose `attrs`, `content`, `marks`, `text` or `type` is not its own enumerable key is
refused alike, where it was read.
## 0.1.0