3
0
mirror of https://github.com/larvit/adf-codec.git synced 2026-11-19 14:45:44 +01:00

Answer the stability review: a code or HTML block swallows the marker line too

This commit is contained in:
2026-08-30 20:18:25 +02:00
parent 9aab7b7168
commit db7455fc33
6 changed files with 36 additions and 25 deletions
-1
View File
@@ -22,7 +22,6 @@ function blockNodes(blocks: readonly Block[], path: ConvertErrorPath, depth: num
return success(content)
}
// Switched, not chained: `noImplicitReturns` then refuses the kind a later milestone adds and forgets.
function blockNode(block: Block, path: ConvertErrorPath, depth: number): Result<AdfNode> {
switch (block.kind) {
case 'blockquote':