Problem not preserving \n (linebreaks) with article-parser and sanitizeHtml

I was using article-parser 4.2.1 for my node.js program to get article data from a news website. Works perfectly until I realised I couldn’t get the line breaks from the article . With line breaks I mean the “\n” characters. I solved this by going through the plugin and change some properties concerning the htmlmin …