Better text parsing

This commit is contained in:
syuilo 2018-05-07 17:19:00 +09:00
parent 9950fafff7
commit 8afaca36d9

View file

@ -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));
}