Browse Source

Update editormd.js

star7th 8 years ago
parent
commit
c2c3a45de1
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Public/editor.md/editormd.js

+ 4 - 0
Public/editor.md/editormd.js

@@ -3863,6 +3863,10 @@
                     return el[0].outerHTML + text;
                 });
             }
+            else if (attrs === "filterXSS")
+            {
+                html = filterXSS(html);
+            }
             else
             {
                 html = html.replace(htmlTagRegex, function($1, $2, $3, $4) {