Better text parsing
This commit is contained in:
parent
9950fafff7
commit
8afaca36d9
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue