CoreFiles by mySites.guru
wp-sanitize.min.js1 lines, 423 bytes, from wordpress-5.3.21.zip
Raw History Compare with 5.3.20
md5
5c6e8b456e70d306372b556d2fa75aa5
sha1
aff3d956f19dc95f305fb91627d55e2766846efd
sha256
eae9587fd982a18dc1cc3391201a06a8ce5efb066c62cc4f3003a901506269c2
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),t=document.createElement("textarea");try{t.textContent=e,e=wp.sanitize.stripTags(t.value)}catch(t){}return e}};

The same content is in 44 releases, WordPress 5.2.10 to 5.3.28. See them all, or every version of this file.