metalsmith-htmlescape

Utilize special-html to prevent unicode fun

metalsmith-htmlescape

Converts files to have HTML escaped UTF-8 characters. This is useful when your markdown files are being converted to html.

npm install metalsmith-htmlescape
var htmlescape = require('metalsmith-htmlescape');
 
.use(htmlescape())

Install via npm and add it to your metalsmith.json:

{
  "plugins": {
      "metalsmith-htmlescape": true
    }
}

MIT