This commit is contained in:
Zef Hemel
2026-03-06 08:20:45 +01:00
parent 91ecfcbd60
commit 06e4a4c7ed
+2 -2
View File
@@ -66,7 +66,7 @@ export async function expandMarkdown(
const result = await inlineContentFromURL(space, transclusion);
// We don't transclude anything that's not markdown
if (typeof result !== "string") {
if (!("text" in result)) {
return n;
}
@@ -74,7 +74,7 @@ export async function expandMarkdown(
// it so we won't touch it down the line and cause endless recursion
processedPages.add(transclusion.url);
const tree = parseMarkdown(result);
const tree = parseMarkdown(result.text);
// Recursively process
return expandMarkdown(