hexo/node_modules/ent/examples/simple.js

4 lines
120 B
JavaScript
Raw Normal View History

2023-10-03 11:14:36 +08:00
var ent = require('ent');
console.log(ent.encode('<span>©moo</span>'))
console.log(ent.decode('&pi; &amp; &rho;'));