whacko icon indicating copy to clipboard operation
whacko copied to clipboard

Cheerio fork that uses parse5 as the underlying platform

Results 5 whacko issues
Sort by recently updated
recently updated
newest added

When running ``` var whacko = require('whacko'); var a = whacko.load('', { xmlMode: true }); a.xml(); ``` I get the error ``` whacko/lib/render.js:34 output += key + '="' + encode(value)...

Simple example: ``` $ = whacko.load('This should be alone'); console.log($.html()); ``` I expect and want the output from that log statement to be: ``` This should be alone ``` Instead,...

``` $ = whacko.load('') $('use').attr('href') === '#abcd' // should be undefined $('use').attr('xlink:href') === undefined // should be '#abcd' ``` This isn't an issue in Cheerio, but http://stackoverflow.com/questions/22081551/svg-image-turns-black-after-updating-his-path-via-jquery makes me think...

Both parse5 and cheerio have the ability to disable automatic html entity encoding. It would be cool if whacko had this too!

... perhaps some benchmarks comparing this with cheerio?