3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-20 07:05:44 +01:00

Review nits: deactivate the openers a nested link dooms, and pin the refusal order

This commit is contained in:
2026-09-19 02:02:01 +02:00
parent 0f79dac6ec
commit 50200bcc18
4 changed files with 29 additions and 8 deletions
@@ -1020,6 +1020,7 @@ test('names the link a directive link wraps, no link holding another', () => {
assert.equal(content(markdownToAdf('!adf:link[<http://x/>]{collection=c href="/u"}\n')), named)
assert.equal(content(markdownToAdf('!adf:link[[a](/v)]{collection=c href="/u"}\n')), named)
assert.equal(content(markdownToAdf('!adf:link[a <http://x/> b]{collection=c href="/u"}\n')), named)
assert.equal(content(markdownToAdf('!adf:link[<http://x/>]{href="/u"}\n')), named)
})
test('names the directive mark left without the content it wraps', () => {