Skip to content
Snippets Groups Projects
Commit 8afaca36 authored by syuilo's avatar syuilo
Browse files

Better text parsing

parent 9950faff
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ function parse(tag, html: string): string {
break;
case 'p':
text += '\n';
text += '\n\n';
if (node.childNodes) {
node.childNodes.forEach(n => analyze(n));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment