tra-analysis/website/functions/node_modules/ent/examples/simple.js
2019-01-06 13:14:45 -06:00

4 lines
117 B
JavaScript

var ent = require('ent');
console.log(ent.encode('<span>©moo</span>'))
console.log(ent.decode('&pi; &amp; &rho;'));