• File: wp-sanitize.min.js
  • Full Path: /home/agencefrei/www/js/wp-sanitize.min.js
  • Date Modified: 05/20/2026 9:16 PM
  • File size: 402 bytes
  • MIME-type: text/plain
  • Charset: utf-8
/*! This file is auto-generated */
window.wp=window.wp||{},wp.sanitize={stripTags:function(t){return"string"!=typeof t?"":((t=(new DOMParser).parseFromString(t,"text/html")).body.innerText=t.body.innerText,t.body.innerHTML)},stripTagsAndEncodeText:function(t){let e=wp.sanitize.stripTags(t),n=document.createElement("textarea");try{n.textContent=e,e=wp.sanitize.stripTags(n.value)}catch(t){}return e}};