node-html-parser
node-html-parser copied to clipboard
structuredText with blank lines
Hi,
thanks for supporting this library.
I've stumbled upon an issue with structured text, where blank lines from html are ommitted in the structuredText.
Is there a way around that?
For example a element with that structure:
b
#text
br
br
#text
br
br
results in only line-breaked text, but no blank lines.
Thanks for your response in advance.
Would this help you?
html.replace(/\n/g, '');