Review nits: deactivate the openers a nested link dooms, and pin the refusal order
CI / gate (push) Successful in 38s
CI / publish (push) Has been skipped

This commit is contained in:
2026-09-19 02:02:01 +02:00
parent 3a22ff388d
commit 6e9e38776f
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', () => {