Files
BW/blog/wp-includes/js/wp-sanitize.min.js
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -05:00

2 lines
402 B
JavaScript

/*! 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}};