From a06d27d81a2dfbf151d33d33d1b8b54c30c7b1d0 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 4 Nov 2026 19:57:16 +0100 Subject: [PATCH] Give the card guard's real reason, the schema --- src/html/emit/inline.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/emit/inline.ts b/src/html/emit/inline.ts index eb690b2..2461979 100644 --- a/src/html/emit/inline.ts +++ b/src/html/emit/inline.ts @@ -12,7 +12,7 @@ export function inlineHtml(nodes: readonly AdfNode[], path: ConvertErrorPath): R let html = '' let afterPlainText = false for (const [index, node] of nodes.entries()) { - // Refused, not carried: HTML nests no link in a link. A card in a carried block never reaches here. + // Refused, not carried: Atlassian's schema gives a card no link mark. A carried block never reaches here. if (node.type === 'inlineCard' && nodeMarks(node).some(({ type }) => type === 'link')) { return failure('unsupported-node-shape', 'an inlineCard takes no link mark: this one holds one', [...path, 'content', index]) }