From 4479055e1e4700a58479f038d5b0d5d14e2f6897 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 26 May 2023 19:16:57 -0600 Subject: [PATCH 1/2] Update UpdateStatusService, fix formatting issue. Fixes #4423 --- app/Services/Status/UpdateStatusService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Status/UpdateStatusService.php b/app/Services/Status/UpdateStatusService.php index be50bf70f..d0a69c451 100644 --- a/app/Services/Status/UpdateStatusService.php +++ b/app/Services/Status/UpdateStatusService.php @@ -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; From fe05d79b9fe5d6cecadddbd7f1e001722dec4cf5 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Fri, 26 May 2023 19:17:38 -0600 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb961f78f..ad6171922 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - Update EditHistoryModal, fix caption rendering ([0f803446](https://github.com/pixelfed/pixelfed/commit/0f803446)) - Update StatusRemoteUpdatePipeline, fix typo ([109d0419](https://github.com/pixelfed/pixelfed/commit/109d0419)) - Update StatusActivityPubDeliver, fix delivery addressing ([1f2183ee](https://github.com/pixelfed/pixelfed/commit/1f2183ee)) +- Update UpdateStatusService, fix formatting issue. Fixes #4423 ([4479055e](https://github.com/pixelfed/pixelfed/commit/4479055e)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.7 (2023-05-24)](https://github.com/pixelfed/pixelfed/compare/v0.11.6...v0.11.7)