3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-15 04:50:26 +01:00

Review nits: drop the spec's restated carry rule, the test's duplicate paths and todo.md's incident note

This commit is contained in:
2026-09-18 23:14:37 +02:00
parent 637e2900ec
commit 484e5253a5
4 changed files with 3 additions and 6 deletions
@@ -996,8 +996,6 @@ test('names the href the directive link spells no value for', () => {
assert.equal(content(markdownToAdf('!adf:link[a]\n')), named)
assert.equal(content(markdownToAdf('!adf:link[a]{title=t}\n')), named)
assert.equal(content(markdownToAdf('See !adf:link[a]{id=01a032c3-7a90-70c9-88f6-c60f710eda07}.\n')), named)
assert.equal(content(markdownToAdf('!adf:underline[!adf:link[a]{title=t}]\n')), named)
assert.deepEqual(path(markdownToAdf('Part.\n\nSee !adf:link[a]{title=t}.\n')), ['content', 1])
})
test('names the directive mark left without the content it wraps', () => {