From 0466878d73b36b56cd7e2797bfad45aabc0d5766 Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Mon, 14 Sep 2020 14:27:10 +0200 Subject: [PATCH] fix --- src/node/utils/ImportHtml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/utils/ImportHtml.js b/src/node/utils/ImportHtml.js index ff7c76b59..3a0a7ede3 100644 --- a/src/node/utils/ImportHtml.js +++ b/src/node/utils/ImportHtml.js @@ -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);