ImportHTML: don't remove new lines from HTML before feeding it to cheerio
parent
de2f6fc55b
commit
25d87260e5
|
@ -33,7 +33,7 @@ exports.setPadHTML = async (pad, html) => {
|
|||
rehype()
|
||||
.use(format, opts)
|
||||
.process(html, function(err, output){
|
||||
html = String(output).replace(/(\r\n|\n|\r)/gm,"");
|
||||
html = String(output);
|
||||
})
|
||||
|
||||
var $ = cheerio.load(html);
|
||||
|
|
Loading…
Reference in New Issue