Browse Source

Update index.js

star7th 8 years ago
parent
commit
89a5ef7496
1 changed files with 1 additions and 1 deletions
  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      : "style,script,iframe,sub,sup|*",  // you can filter tags decode
+      htmlDecode      : "style,script,iframe|onerror,onclick,title,onmouseover,onmouseout,style,onblur,oninvalid,onkeydown,onkeypress,onkeyup,onmousewheel,oncanplay,onloadstart,onload,onplay,onplaying,onprogress,ondrag,onmousedown,onmouseup,onformchange,oncontextmenu,oninput,onresize,onhaschange,onunload,on*",  // you can filter tags decode
       emoji           : false,
       taskList        : true,
       tex             : true,  // 默认不解析