Narrow the error-code rule to what it forbids, and name the fence rule instead of quoting it
CI / gate (push) Successful in 4s

This commit is contained in:
2026-08-25 15:43:30 +02:00
parent 9ce5946173
commit 5be1bf677a
3 changed files with 8 additions and 4 deletions
+1 -2
View File
@@ -72,8 +72,7 @@ for (const directory of emittingDirectories) {
}
}
// The rule spec/flavour.md states as "a container's fence is longer than every directive fence line
// in its body", checked against the emitted bytes: a hand-written fixture cannot be its own witness.
// spec/flavour.md, Directives: the container fence rule, checked against the emitted bytes.
function fenceNestingFault(markdown: string): string | undefined {
const open: number[] = []
let codeFence: string | undefined