diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-05-07 17:19:00 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-05-07 17:19:00 +0900 |
| commit | 8afaca36d91bfc75c6fa6003e79b1473b530bd3e (patch) | |
| tree | b00a1b59510e4c3a30ea3e700201161c58323848 /src | |
| parent | oops (diff) | |
| download | sharkey-8afaca36d91bfc75c6fa6003e79b1473b530bd3e.tar.gz sharkey-8afaca36d91bfc75c6fa6003e79b1473b530bd3e.tar.bz2 sharkey-8afaca36d91bfc75c6fa6003e79b1473b530bd3e.zip | |
Better text parsing
Diffstat (limited to 'src')
| -rw-r--r-- | src/remote/activitypub/models/note.ts | 2 |
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)); } |