fix
parent
eee8d56477
commit
0466878d73
|
@ -34,7 +34,7 @@ exports.setPadHTML = function(pad, html)
|
||||||
rehype()
|
rehype()
|
||||||
// .use(format, opts)
|
// .use(format, opts)
|
||||||
.process(html, function(err, output){
|
.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);
|
var $ = cheerio.load(html);
|
||||||
|
|
Loading…
Reference in New Issue