mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 14:45:44 +01:00
Answer prose round 1: 0 🔴, 4 🟡; plainer bracket-stack comments, a truer item 56, the label line spellings first
This commit is contained in:
@@ -1076,7 +1076,7 @@ test('reads the reference links a definition resolves, and leaves the rest liter
|
||||
assert.deepEqual(content(losslessMarkdownToAdf('[][]\n')), [paragraph('[][]')])
|
||||
})
|
||||
|
||||
test('reads link text past 999 characters as no label, in every reader', () => {
|
||||
test('leaves a link label past 999 characters literal, an escape counting as two, in every reader', () => {
|
||||
const longest = `foo${' '.repeat(993)}bar`
|
||||
const tooLong = `foo${' '.repeat(994)}bar`
|
||||
const escaped = '\\*'.repeat(499)
|
||||
|
||||
Reference in New Issue
Block a user