From 8afaca36d91bfc75c6fa6003e79b1473b530bd3e Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 7 May 2018 17:19:00 +0900 Subject: [PATCH] Better text parsing --- src/remote/activitypub/models/note.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/remote/activitypub/models/note.ts b/src/remote/activitypub/models/note.ts index 9e40bb8d6..fe7911ae0 100644 --- a/src/remote/activitypub/models/note.ts +++ b/src/remote/activitypub/models/note.ts @@ -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)); }