import-doc-line-breaks
webzwo0i 2020-09-14 14:27:10 +02:00
parent eee8d56477
commit 0466878d73
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ exports.setPadHTML = function(pad, html)
rehype()
// .use(format, opts)
.process(html, function(err, output){
html = String(output).replace(/(\n\r|\n|\r)/gm," ");
html = String(output).replace(/(\r\n|\n|\r)/gm," ");
})
var $ = cheerio.load(html);