How to use the escape-goat.htmlUnescape function in escape-goat

To help you get started, we’ve selected a few escape-goat examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github carbon-app / carbon / lib / util.js View on Github external
export const unescapeHtml = s => {
  if (typeof s === 'string') {
    return htmlUnescape(s).replace(///g, '/')
  }
}

escape-goat

Escape a string for use in HTML or the inverse

MIT
Latest version published 4 years ago

Package Health Score

70 / 100
Full package analysis