mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-21 23:46:21 +01:00
Build text holding no border mark in losslessMarkdownToAdf, and carry text holding one
This commit is contained in:
@@ -416,7 +416,7 @@ test('gives up every highlight run whose own delimiter cannot flank in one fallb
|
||||
})
|
||||
|
||||
test('refuses a portable line holding a node only the carry spells, at the line', () => {
|
||||
const refused = portableLineFallback([text('x', { type: 'odd' })], 'paragraph', ['content', 0])
|
||||
const refused = portableLineFallback([text('x', { attrs: { a: 1 }, type: 'em' })], 'paragraph', ['content', 0])
|
||||
assert.deepEqual(refused.ok ? refused : [refused.error.code, refused.error.path], ['unsupported-node-shape', ['content', 0]])
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user