CoreFiles by mySites.guru
wp-sanitize.min.js2 lines, 458 bytes, from wordpress-5.4.zip
Raw History Compare with 5.3.28
md5
5e8febbd8db3d3de4c68ec632b6883fe
sha1
f9e3c1f99d124f6729ceb1b1c38e1fe2518caba8
sha256
e425b000e1be3617a8c61d9015631327ed8ba63c4088349bcf5046cb3b09a553
/*! 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 e=wp.sanitize.stripTags(t),a=document.createElement("textarea");try{a.textContent=e,e=wp.sanitize.stripTags(a.value)}catch(t){}return e}};

The same content is in 50 releases, WordPress 5.4-beta1 to 5.7. See them all, or every version of this file.