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

25 - the definitions §11 held sit at the code, and §8 says only what the README does not

This commit is contained in:
2026-09-23 23:36:24 +02:00
parent ab60dcfe1f
commit 8b9fda5fa0
5 changed files with 19 additions and 25 deletions
+1
View File
@@ -65,6 +65,7 @@ export function tryImageLine(alt: string | undefined, href: string, path: Conver
function emitLine(nodes: readonly AdfNode[], container: LineContainer, path: ConvertErrorPath): Result<EmittedLine> {
const fallbacks: LineFallbacks = { carried: new Set(), openingLinkAsDirective: false }
// Terminates because takeFallback refuses a pass that took no new fallback.
for (;;) {
const emission = lineSegments(nodes, container, path, fallbacks)
if (!emission.ok) return emission