special-html
v0.0.1
Published
Convert special UTF-8 characters in a string to their HTML escape code equivalents.
Downloads
36,861
Readme
special-html
Converts special UTF-8 characters in a string to their HTML escape code equivalents.
Installation
$ npm install special-html
Usage
var special = require('special-html')
, original = '├── [email protected] ([email protected])'
console.log(special(original))
// ├── [email protected] ([email protected])