Parcourir la source

Update editormd.js

star7th il y a 8 ans
Parent
commit
c2c3a45de1
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  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) {