Created
February 6, 2018 07:10
-
-
Save alfredfrancis/70b93123516b2c18ec3628a07ef55af0 to your computer and use it in GitHub Desktop.
Unescape JS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unescape(s){ | |
return this.stripTags(this.s(s)).replace(/&/g,'&').replace(/</g,'<').replace(/>/g,'>'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment