We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2d4920 commit b345cfbCopy full SHA for b345cfb
src/html.js
@@ -168,7 +168,7 @@ module.exports = function( options, callback )
168
return callback( null );
169
},{ normalizeWhitespace: true } );
170
var parser = new htmlparser.Parser( handler, { xmlMode: true } );
171
- parser.write( content );
+ parser.write( content.toString() );
172
parser.done();
173
} );
174
};
0 commit comments