浏览代码

Update index.js

star7th 8 年之前
父节点
当前提交
ced85f9ae4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Public/js/page/index.js

+ 1 - 1
Public/js/page/index.js

@@ -3,7 +3,7 @@ $(function(){
     hljs.initHighlightingOnLoad();
     
     var EditormdView = editormd.markdownToHTML("page_md_content", {
-      htmlDecode      : false,  // you can filter tags decode
+      htmlDecode      : "style,script,iframe,sub,sup|*",  // you can filter tags decode
       emoji           : false,
       taskList        : true,
       tex             : true,  // 默认不解析