function escapeHtml( string ) {
	return String( string ).replace( /[&<>"'`=\/]/g, function ( s ) {
		return entityMap[s];
	} );
}
/**
 * Escapes the given string string ready to be output to the page as HTML.
 *
 * Also used in form_editor.js
 *
 * @since 2.4.13
 *
 * @param {string} string The string to escape.
 * @returns {string}
 */
Escapes the given string string ready to be output to the page as HTML.




Escapes the given string string ready to be output to the page as HTML .
function escapeHtml( string ) {
	return String( string ).replace( /[&<>"'`=\/]/g, function ( s ) {
		return entityMap[s];
	} );
}
function escapeHtml ( string ) { return String ( string ) . replace ( / [&<>"'`=\/] / g , function ( s ) { return entityMap [ s ] ; } ) ; }
Escapes the given string string ready to be output to the page as HTML.
Escapes the given string string ready to be output to the page as HTML .