fix: markdown block should supports the markdown syntax (#5003)

This commit is contained in:
Katherine 2024-08-06 23:01:49 +08:00 committed by GitHub
parent a74f408d07
commit 9768508a6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -155,7 +155,8 @@ export async function getRenderContent(templateEngine, content, variables, local
// 处理渲染后的内容
try {
const data = getVariablesData(localVariables);
return renderedContent({ ...variables.ctxRef.current, ...data });
const html = renderedContent({ ...variables.ctxRef.current, ...data });
return await defaultParse(html);
} catch (error) {
console.log(error);
return content;