mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-26 16:03:02 +00: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;
|
||||
|
||||
case 'p':
|
||||
text += '\n';
|
||||
text += '\n\n';
|
||||
if (node.childNodes) {
|
||||
node.childNodes.forEach(n => analyze(n));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue