mirror of
https://github.com/larvit/adf-codec.git
synced 2026-11-19 14:45:44 +01:00
Answer prose round 1: the decision says right after and keeps only its reason, the README counts the link-definition exception, and the comments and spec say which list alternates
This commit is contained in:
@@ -125,7 +125,7 @@ function portableSequence(blocks: readonly AdfNode[], reduction: Reduction): Res
|
||||
sequence.push(block)
|
||||
continue
|
||||
}
|
||||
// Read next, since a replacement may take the directive form itself.
|
||||
// Back on `pending`: a replacement may take the directive form itself.
|
||||
const replacement = block === next ? nodeContent(block).flatMap(nodeContent) : [block]
|
||||
for (const node of replacement.reverse()) pending.push(node)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user