summaryrefslogtreecommitdiffstats
path: root/wp-includes/js/wp-sanitize.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/js/wp-sanitize.min.js')
-rw-r--r--wp-includes/js/wp-sanitize.min.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-includes/js/wp-sanitize.min.js b/wp-includes/js/wp-sanitize.min.js
new file mode 100644
index 0000000..504d338
--- /dev/null
+++ b/wp-includes/js/wp-sanitize.min.js
@@ -0,0 +1,2 @@
+/*! This file is auto-generated */
+window.wp=window.wp||{},wp.sanitize={stripTags:function(t){var e=(t=t||"").replace(/<!--[\s\S]*?(-->|$)/g,"").replace(/<(script|style)[^>]*>[\s\S]*?(<\/\1>|$)/gi,"").replace(/<\/?[a-z][\s\S]*?(>|$)/gi,"");return e!==t?wp.sanitize.stripTags(e):e},stripTagsAndEncodeText:function(t){var t=wp.sanitize.stripTags(t),e=document.createElement("textarea");try{e.textContent=t,t=wp.sanitize.stripTags(e.value)}catch(t){}return t}}; \ No newline at end of file