mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-12 11:48:29 +01:00
File the em 1/3 exceptions for examples 638 and 639 as pending under item 87
This commit is contained in:
@@ -465,14 +465,14 @@
|
||||
"check": "count",
|
||||
"divergence": "em 1/3",
|
||||
"example": 638,
|
||||
"kind": "mark-model",
|
||||
"reason": "The mark spans adjacent text nodes, counted once per node where CommonMark nests one element."
|
||||
"kind": "pending",
|
||||
"reason": "The hard break carries the em mark, which ADF's schema forbids; todo.md item 87 strips it."
|
||||
},
|
||||
{
|
||||
"check": "count",
|
||||
"divergence": "em 1/3",
|
||||
"example": 639,
|
||||
"kind": "mark-model",
|
||||
"reason": "The mark spans adjacent text nodes, counted once per node where CommonMark nests one element."
|
||||
"kind": "pending",
|
||||
"reason": "The hard break carries the em mark, which ADF's schema forbids; todo.md item 87 strips it."
|
||||
}
|
||||
]
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
`*foo \nbar*` builds a `hardBreak` marked `em` (CommonMark examples 638 and 639), which Atlassian's
|
||||
schema refuses: its `hardBreak_node` holds no `marks` (`spec/adf-schema/full.json`). So
|
||||
`commonMarkToAdf` builds a document a site may reject from plain CommonMark. The suite's `em 1/3`
|
||||
exceptions for 638 and 639 go back to `em 1/2`.
|
||||
`pending` exceptions for 638 and 639 then return to `mark-model` and `em 1/2`.
|
||||
|
||||
### 88. Build a `blockTaskItem` holding only the paragraphs and extensions Atlassian's schema allows, in `portableMarkdownToAdf`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user