3
0
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:
2026-10-23 11:26:30 +02:00
committed by Lillem4n
parent 5fdb539b37
commit ab3c07a23a
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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)