mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 11:40:49 +00:00
Better text parsing
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user