CoreFiles by mySites.guru
wp-sanitize.min.js1 lines, 381 bytes, from wordpress-5.1.21.zip
Raw History Compare with 5.1.20
md5
c1cd26f95302a50f51b2b9cf91c6d968
sha1
1f3a65c18d37a9268b271ce702dfd9aeffce49a2
sha256
36996d72faf3c0f27e10607262889a118ea3268d9b814217303a87567ae55894
window.wp=window.wp||{},wp.sanitize={stripTags:function(e){return(e=e||"").replace(/<!--[\s\S]*?(-->|$)/g,"").replace(/<(script|style)[^>]*>[\s\S]*?(<\/\1>|$)/gi,"").replace(/<\/?[a-z][\s\S]*?(>|$)/gi,"")},stripTagsAndEncodeText:function(e){var t=wp.sanitize.stripTags(e),e=document.createElement("textarea");try{e.innerHTML=t,t=wp.sanitize.stripTags(e.value)}catch(e){}return t}};

The same content is in 42 releases, WordPress 5.0.12 to 5.1.29. See them all, or every version of this file.