mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 03:56:16 +00:00
fix: markdown block should supports the markdown syntax (#5003)
This commit is contained in:
parent
a74f408d07
commit
9768508a6a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user