diff --git a/snippets/unescapeHTML.md b/snippets/unescapeHTML.md index d3d43b827..8c1ebe960 100644 --- a/snippets/unescapeHTML.md +++ b/snippets/unescapeHTML.md @@ -2,7 +2,7 @@ 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 const unescapeHTML = str =>