mirror of https://github.com/jkjoy/sunpeiwen.git
4 lines
117 B
JavaScript
4 lines
117 B
JavaScript
|
var ent = require('ent');
|
||
|
console.log(ent.encode('<span>©moo</span>'))
|
||
|
console.log(ent.decode('π & ρ'));
|