Created
August 14, 2008 02:13
-
-
Save brendano/5351 to your computer and use it in GitHub Desktop.
htmlunescape
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
#!/usr/bin/env perl | |
while(<>) { | |
s/</</g; | |
s/>/>/g; | |
s/&/&/g; | |
print $_; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment