summaryrefslogtreecommitdiff
path: root/src/remote/activitypub
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-05-07 17:19:00 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-05-07 17:19:00 +0900
commit8afaca36d91bfc75c6fa6003e79b1473b530bd3e (patch)
treeb00a1b59510e4c3a30ea3e700201161c58323848 /src/remote/activitypub
parentoops (diff)
downloadsharkey-8afaca36d91bfc75c6fa6003e79b1473b530bd3e.tar.gz
sharkey-8afaca36d91bfc75c6fa6003e79b1473b530bd3e.tar.bz2
sharkey-8afaca36d91bfc75c6fa6003e79b1473b530bd3e.zip
Better text parsing
Diffstat (limited to 'src/remote/activitypub')
-rw-r--r--src/remote/activitypub/models/note.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/models/note.ts b/src/remote/activitypub/models/note.ts
index 9e40bb8d61..fe7911ae06 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));
}