Sfoglia il codice sorgente

Update editormd.js

star7th 8 anni fa
parent
commit
c2c3a45de1
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      Public/editor.md/editormd.js

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

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