function sanitizeHtmlCode(code) {
  return code ? code.replace(/[<>&]/g, tag => tagEntities[tag] || tag) : '';
}
function sanitizeHtmlCode(code) {
  return code ? code.replace(/[<>&]/g, tag => tagEntities[tag] || tag) : '';
}
function sanitizeHtmlCode ( code ) { return code ? code . replace ( / [<>&] / g , tag => tagEntities [ tag ] || tag ) : '' ; }
Sanitize HTML code
@param {string} code code string
@returns {string}
@ignore
Sanitize HTML code
Sanitize HTML code