mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-06 10:50:56 +01:00
235b19b3b0
This updates a handful of dependencies to their latest versions. - `qunit` from `2.14.0` to `2.14.1`. - `uglify-js` from `3.13.0` to `3.13.1`. - `wait-on` from `5.2.1` to `5.3.0`. See #52624. Built from https://develop.svn.wordpress.org/trunk@50545 git-svn-id: http://core.svn.wordpress.org/trunk@50158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2 lines
458 B
JavaScript
2 lines
458 B
JavaScript
/*! 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),t=document.createElement("textarea");try{t.textContent=e,e=wp.sanitize.stripTags(t.value)}catch(t){}return e}}; |