lib/index.js
function plugin(options) {

    return function(files, metalsmith, done) {

        Object.keys(files).forEach(function(file) {
            var data = files[file];
            data.contents = new Buffer(special(data.contents.toString()));
        });
        done();
    }
}
function plugin(options) {

    return function(files, metalsmith, done) {

        Object.keys(files).forEach(function(file) {
            var data = files[file];
            data.contents = new Buffer(special(data.contents.toString()));
        });
        done();
    }
}
function plugin ( options ) { return function ( files , metalsmith , done ) { Object . keys ( files ) . forEach ( function ( file ) { var data = files [ file ] ; data . contents = new Buffer ( special ( data . contents . toString ( ) ) ) ; } ) ; done ( ) ; } }
Metalsmith plugin to sanitize special unicode chars in html

@param {Object or String} options (optional)
@return {Function}
Metalsmith plugin to sanitize special unicode chars in html