mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 21:33:08 +02:00
Better text parsing
This commit is contained in:
parent
9950fafff7
commit
8afaca36d9
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ function parse(tag, html: string): string {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'p':
|
case 'p':
|
||||||
text += '\n';
|
text += '\n\n';
|
||||||
if (node.childNodes) {
|
if (node.childNodes) {
|
||||||
node.childNodes.forEach(n => analyze(n));
|
node.childNodes.forEach(n => analyze(n));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue