Update unescapeHTML.md

This commit is contained in:
atomiks
2017-12-30 00:25:24 +11:00
committed by GitHub
parent 18d4fcf3f8
commit 0a19f0867d

View File

@ -2,7 +2,7 @@
Unescapes escaped HTML characters. Unescapes escaped HTML characters.
Use `String.replace()` with a regex that matches the characters that need to be escaped, using a callback function to replace each escaped character instance with its associated unescaped character using a dictionary (object). Use `String.replace()` with a regex that matches the characters that need to be unescaped, using a callback function to replace each escaped character instance with its associated unescaped character using a dictionary (object).
```js ```js
const unescapeHTML = str => const unescapeHTML = str =>