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

Answer prose round 1: 0 🔴, 7 🟡 (0 misread); the bound test's block count is 53, comments name their referents

This commit is contained in:
2026-10-29 16:19:12 +01:00
committed by Lillem4n
parent bbd2ad9c74
commit ee95b3035f
8 changed files with 11 additions and 12 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ export function holdsThematicBreak(tail: ThematicBreakTail | undefined, text: st
return text.length >= tail.shortest && text.length <= tail.longest && text.charAt(0) === tail.marker
}
// True of every line isThematicBreak takes, and kept for a prefixed line from its parts without reading it.
// Every line isThematicBreak accepts passes this, and a joined line passes exactly when each part does, so BlockText derives it from a prefix and its body.
export function holdsOnlyRuleCharacters(text: string): boolean {
for (let index = 0; index < text.length; index += 1) {
const character = text.charAt(index)