mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 22:55:44 +01:00
Carry each (image) one way: the link directive moves its own to the end
This commit is contained in:
@@ -1313,6 +1313,7 @@ test('names the link a directive link wraps, no link holding another', () => {
|
||||
assert.equal(content(losslessMarkdownToAdf('!adf:link[[a](/v)]{collection=c href="/u"}\n')), named)
|
||||
assert.equal(content(losslessMarkdownToAdf('!adf:link[a <http://x/> b]{collection=c href="/u"}\n')), named)
|
||||
assert.equal(content(losslessMarkdownToAdf('!adf:link[<http://x/>]{href="/u"}\n')), named)
|
||||
assert.equal(content(losslessMarkdownToAdf('!adf:link[x !adf:underline[[]()]]{href="a\\nb"}\n')), named)
|
||||
})
|
||||
|
||||
test('names the directive mark left without the content it wraps', () => {
|
||||
|
||||
Reference in New Issue
Block a user