0.0.1 • Published 12 years ago
htmldec v0.0.1
htmlDec
converts html special entities back to plain text
the conversation table is taken from http://www.w3schools.com/tags/ref_entities.asp http://www.w3schools.com/tags/ref_symbols.asp
##example var htmlDec = require('htmldec');
var input = '" < T E X T > "';
var decoded = htmlDec(input);
console.log(decoded) // prints " < T E X T > "
licence
* -----------------------------------------------------------------------------
* "THE BEER-WARE LICENSE" (Revision 42):
* <bonuspunkt@gmail.com> wrote this file. As long as you retain this notice you
* can do whatever you want with this stuff. If we meet some day, and you think
* this stuff is worth it, you can buy me a beer in return.
* -----------------------------------------------------------------------------