• File: wp-sanitize.min.js
  • Full Path: /home/slvgwrnz/public_html/wp-admin/wp-includes/js/wp-sanitize.min.js
  • Date Modified: 12/03/2025 3:02 AM
  • File size: 444 bytes
  • MIME-type: text/plain
  • Charset: utf-8
/*! This file is auto-generated */
window.wp=window.wp||{},wp.sanitize={stripTags:function(t){let e=t||"";for(;(e=(t=e).replace(/<!--[\s\S]*?(-->|$)/g,"").replace(/<(script|style)[^>]*>[\s\S]*?(<\/\1>|$)/gi,"").replace(/<\/?[a-z][\s\S]*?(>|$)/gi,""))!==t;);return e},stripTagsAndEncodeText:function(t){let e=wp.sanitize.stripTags(t),i=document.createElement("textarea");try{i.textContent=e,e=wp.sanitize.stripTags(i.value)}catch(t){}return e}};