mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-25 15:55:22 +00:00
Update UpdateStatusService, fix formatting issue. Fixes #4423
This commit is contained in:
parent
57d4f67b85
commit
4479055e1e
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class UpdateStatusService
|
|||
if(isset($attributes['status'])) {
|
||||
$cleaned = Purify::clean($attributes['status']);
|
||||
$status->caption = $cleaned;
|
||||
$status->rendered = Autolink::create()->autolink($cleaned);
|
||||
$status->rendered = nl2br(Autolink::create()->autolink($cleaned));
|
||||
} else {
|
||||
$status->caption = null;
|
||||
$status->rendered = null;
|
||||
|
|
Loading…
Reference in a new issue