diff --git a/public/react/src/modules/ecs/Ecs.js b/public/react/src/modules/ecs/Ecs.js index ce5b95982..db4fc27df 100644 --- a/public/react/src/modules/ecs/Ecs.js +++ b/public/react/src/modules/ecs/Ecs.js @@ -48,7 +48,7 @@ function doElasticLayer(memo, rendered){ $(".newMain").after(html).hide(); - editormd.markdownToHTML("MDContent", { + window.editormd.markdownToHTML("MDContent", { htmlDecode: "style,script,iframe", // you can filter tags decode taskList: true, tex: true, // 默认不解析