mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Better text parsing
This commit is contained in:
parent
d1fd3adcc9
commit
54b46c5d00
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…
Add table
Reference in a new issue