3 lines
118 B
JavaScript
3 lines
118 B
JavaScript
var ent = require('ent');
|
|
console.log(ent.encode('<span>©moo</span>'));
|
|
console.log(ent.decode('π & ρ'));
|