From abb2b417ff67a5011fe3ceaadff3344ac09bb868 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 23 Oct 2026 10:35:34 +0200 Subject: [PATCH] Name parseInlineContent as the caller asking the emitter about an opening link --- src/markdown/parse/inline-content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown/parse/inline-content.ts b/src/markdown/parse/inline-content.ts index 5ea22fc..330e398 100644 --- a/src/markdown/parse/inline-content.ts +++ b/src/markdown/parse/inline-content.ts @@ -232,7 +232,7 @@ function directiveMarkPieces(scan: Scan, name: string, mark: AdfMark, slot: read return success([...marked.filter((piece) => piece.kind === 'nodes'), ...besideLink(images, link)]) } -// spec/flavour.md, Marks. A link opening a paragraph may still need the directive form for the line it opens, which `assemble` asks the emitter. +// spec/flavour.md, Marks. A link opening a paragraph may still need the directive form for the line it opens, which `parseInlineContent` asks the emitter. function refuseLinkDirective(scan: Scan, mark: AdfMark, nodes: readonly Inline[], index: number): Result | undefined { const href = linkHref(nodeAttrs(mark)) if (href === undefined) return failure('unsupported-node-shape', hreflessLink, scan.path)