3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-18 22:25:44 +01:00

Answer prose round 1: the comments say why, items 95, 96, 91 and 34 read in one pass, the floor's decision drops the rule CLAUDE.md holds, and item 97 files the changelog's order

This commit is contained in:
2026-10-09 18:59:42 +02:00
committed by Lillem4n
parent d38f563b03
commit 3741b9e5b3
6 changed files with 35 additions and 32 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ function readToken(scan: Scan, index: number, token: InlineToken): Result<number
scan.pending += scan.source.slice(index, end)
return success(end)
case 'hard-break':
// CommonMark strips the spaces the two-space break is spelled with, and keeps those before a backslash.
// CommonMark keeps the spaces before a backslash hard break.
flush(scan, false)
pushNode(scan, { type: 'hardBreak' })
return success(end)