PATH:
home
/
lab2454c
/
am.elementalrock.com
/
wp-includes
/
js
/** * @output wp-includes/js/wp-sanitize.js */ ( function () { window.wp = window.wp || {}; /** * wp.sanitize * * Helper functions to sanitize strings. */ wp.sanitize = { /** * Strip HTML tags. * * @param {string} text Text to have the HTML tags striped out of. * * @return Stripped text. */ stripTags: function( text ) { text = text || ''; // Do the replacement. var _text = text .replace( /<!--[\s\S]*?(-->|$)/g, '' ) .replace( /<(script|style)[^>]*>[\s\S]*?(<\/\1>|$)/ig, '' ) .replace( /<\/?[a-z][\s\S]*?(>|$)/ig, '' ); // If the initial text is not equal to the modified text, // do the search-replace again, until there is nothing to be replaced. if ( _text !== text ) { return wp.sanitize.stripTags( _text ); } // Return the text with stripped tags. return _text; }, /** * Strip HTML tags and convert HTML entities. * * @param {string} text Text to strip tags and convert HTML entities. * * @return Sanitized text. False on failure. */ stripTagsAndEncodeText: function( text ) { var _text = wp.sanitize.stripTags( text ), textarea = document.createElement( 'textarea' ); try { textarea.textContent = _text; _text = wp.sanitize.stripTags( textarea.value ); } catch ( er ) {} return _text; } }; }() );
[-] wp-api.js
[edit]
[-] comment-reply.min.js
[edit]
[-] customize-preview.js
[edit]
[-] heartbeat.min.js
[edit]
[-] wp-ajax-response.js
[edit]
[-] wp-pointer.min.js
[edit]
[-] imagesloaded.min.js
[edit]
[-] underscore.js
[edit]
[+]
crop
[-] media-editor.js
[edit]
[-] customize-loader.js
[edit]
[-] underscore.min.js
[edit]
[-] utils.js
[edit]
[-] media-views.min.js
[edit]
[-] wp-api.min.js
[edit]
[-] wp-emoji-loader.min.js
[edit]
[-] customize-preview-nav-menus.min.js
[edit]
[-] media-editor.min.js
[edit]
[-] wp-backbone.min.js
[edit]
[-] heartbeat.js
[edit]
[-] media-grid.js
[edit]
[-] shortcode.min.js
[edit]
[-] wp-embed.js
[edit]
[-] api-request.js
[edit]
[-] customize-base.min.js
[edit]
[+]
..
[-] media-models.min.js
[edit]
[-] customize-preview.min.js
[edit]
[-] wplink.min.js
[edit]
[+]
jquery
[-] zxcvbn.min.js
[edit]
[-] masonry.min.js
[edit]
[-] json2.min.js
[edit]
[+]
swfupload
[+]
thickbox
[-] hoverintent-js.min.js
[edit]
[-] wp-custom-header.min.js
[edit]
[+]
jcrop
[+]
imgareaselect
[-] customize-models.min.js
[edit]
[-] media-views.js
[edit]
[-] swfobject.js
[edit]
[-] zxcvbn-async.js
[edit]
[-] media-audiovideo.js
[edit]
[-] colorpicker.js
[edit]
[-] wp-backbone.js
[edit]
[-] clipboard.min.js
[edit]
[-] autosave.js
[edit]
[-] wp-embed-template.js
[edit]
[-] customize-preview-widgets.js
[edit]
[-] wp-sanitize.min.js
[edit]
[-] wp-pointer.js
[edit]
[-] wp-sanitize.js
[edit]
[-] zxcvbn-async.min.js
[edit]
[-] customize-selective-refresh.js
[edit]
[-] tw-sack.min.js
[edit]
[+]
plupload
[-] utils.min.js
[edit]
[-] customize-base.js
[edit]
[-] wp-util.min.js
[edit]
[-] api-request.min.js
[edit]
[-] wpdialog.min.js
[edit]
[-] wplink.js
[edit]
[+]
mediaelement
[-] wp-emoji-loader.js
[edit]
[-] mce-view.min.js
[edit]
[-] customize-preview-widgets.min.js
[edit]
[-] quicktags.min.js
[edit]
[-] media-audiovideo.min.js
[edit]
[-] hoverIntent.js
[edit]
[-] clipboard.js
[edit]
[-] wp-list-revisions.min.js
[edit]
[-] admin-bar.min.js
[edit]
[-] customize-preview-nav-menus.js
[edit]
[-] json2.js
[edit]
[-] customize-selective-refresh.min.js
[edit]
[-] wp-util.js
[edit]
[-] colorpicker.min.js
[edit]
[-] hoverIntent.min.js
[edit]
[-] customize-loader.min.js
[edit]
[-] wp-emoji.js
[edit]
[-] wp-lists.js
[edit]
[-] backbone.min.js
[edit]
[-] customize-models.js
[edit]
[-] autosave.min.js
[edit]
[-] twemoji.js
[edit]
[-] wpdialog.js
[edit]
[-] admin-bar.js
[edit]
[-] media-grid.min.js
[edit]
[+]
tinymce
[-] twemoji.min.js
[edit]
[-] wp-emoji.min.js
[edit]
[-] backbone.js
[edit]
[-] wp-ajax-response.min.js
[edit]
[-] wp-lists.min.js
[edit]
[-] comment-reply.js
[edit]
[-] wp-custom-header.js
[edit]
[+]
dist
[-] tw-sack.js
[edit]
[-] mce-view.js
[edit]
[-] customize-views.min.js
[edit]
[-] wp-emoji-release.min.js
[edit]
[+]
codemirror
[-] wp-auth-check.min.js
[edit]
[-] wp-embed.min.js
[edit]
[-] themes.php
[edit]
[-] quicktags.js
[edit]
[-] wp-embed-template.min.js
[edit]
[-] shortcode.js
[edit]
[-] wp-auth-check.js
[edit]
[-] media-models.js
[edit]
[-] wp-list-revisions.js
[edit]
[-] customize-views.js
[edit]