ImportHTML: don't remove new lines from HTML before feeding it to cheerio

fix-lost-spaces
webzwo0i 2020-11-10 08:11:25 +01:00
parent de2f6fc55b
commit 25d87260e5
1 changed files with 1 additions and 1 deletions

View File

@ -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);