mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-19 04:51:27 +00:00
Merge pull request #4424 from pixelfed/staging
Update UpdateStatusService, fix formatting issue. Fixes #4423
This commit is contained in:
commit
e46ee70500
2 changed files with 2 additions and 1 deletions
|
@ -11,6 +11,7 @@
|
||||||
- Update EditHistoryModal, fix caption rendering ([0f803446](https://github.com/pixelfed/pixelfed/commit/0f803446))
|
- 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 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 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/))
|
- ([](https://github.com/pixelfed/pixelfed/commit/))
|
||||||
|
|
||||||
## [v0.11.7 (2023-05-24)](https://github.com/pixelfed/pixelfed/compare/v0.11.6...v0.11.7)
|
## [v0.11.7 (2023-05-24)](https://github.com/pixelfed/pixelfed/compare/v0.11.6...v0.11.7)
|
||||||
|
|
|
@ -64,7 +64,7 @@ class UpdateStatusService
|
||||||
if(isset($attributes['status'])) {
|
if(isset($attributes['status'])) {
|
||||||
$cleaned = Purify::clean($attributes['status']);
|
$cleaned = Purify::clean($attributes['status']);
|
||||||
$status->caption = $cleaned;
|
$status->caption = $cleaned;
|
||||||
$status->rendered = Autolink::create()->autolink($cleaned);
|
$status->rendered = nl2br(Autolink::create()->autolink($cleaned));
|
||||||
} else {
|
} else {
|
||||||
$status->caption = null;
|
$status->caption = null;
|
||||||
$status->rendered = null;
|
$status->rendered = null;
|
||||||
|
|
Loading…
Reference in a new issue