Skip to content

Commit

Permalink
Update UpdateStatusService, fix formatting issue. Fixes #4423
Browse files Browse the repository at this point in the history
  • Loading branch information
dansup committed May 27, 2023
1 parent 57d4f67 commit 4479055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/Status/UpdateStatusService.php
Expand Up @@ -64,7 +64,7 @@ public static function handleImmediateAttributes(Status $status, $attributes)
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;
Expand Down

0 comments on commit 4479055

Please sign in to comment.