mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-12 21:58:11 +09:00
Better text parsing
This commit is contained in:
parent
d1fd3adcc9
commit
54b46c5d00
@ -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
Block a user