diff --git a/src/node/utils/ImportHtml.js b/src/node/utils/ImportHtml.js index 8cbfdbab9..ee08ede36 100644 --- a/src/node/utils/ImportHtml.js +++ b/src/node/utils/ImportHtml.js @@ -33,7 +33,12 @@ 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) + .replace(/