mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 17:53:16 +00:00
commit
b7ae41d4a8
16 changed files with 6 additions and 2 deletions
|
@ -8,6 +8,7 @@
|
||||||
### Updates
|
### Updates
|
||||||
- Update StatusService, fix bug in getFull method ([4d8b4dcf](https://github.com/pixelfed/pixelfed/commit/4d8b4dcf))
|
- Update StatusService, fix bug in getFull method ([4d8b4dcf](https://github.com/pixelfed/pixelfed/commit/4d8b4dcf))
|
||||||
- Update Config, bump version for post edit support without having to clear cache ([c0190d84](https://github.com/pixelfed/pixelfed/commit/c0190d84))
|
- Update Config, bump version for post edit support without having to clear cache ([c0190d84](https://github.com/pixelfed/pixelfed/commit/c0190d84))
|
||||||
|
- Update EditHistoryModal, fix caption rendering ([0f803446](https://github.com/pixelfed/pixelfed/commit/0f803446))
|
||||||
- ([](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)
|
||||||
|
|
|
@ -44,8 +44,9 @@ class StatusEditController extends Controller
|
||||||
$cached = StatusService::get($status->id, false);
|
$cached = StatusService::get($status->id, false);
|
||||||
|
|
||||||
$res = $status->edits->map(function($edit) use($cached) {
|
$res = $status->edits->map(function($edit) use($cached) {
|
||||||
|
$caption = nl2br(strip_tags(str_replace('</p>', "\n", $edit->caption)));
|
||||||
return [
|
return [
|
||||||
'content' => Autolink::create()->autolink($edit->caption),
|
'content' => Autolink::create()->autolink($caption),
|
||||||
'spoiler_text' => $edit->spoiler_text,
|
'spoiler_text' => $edit->spoiler_text,
|
||||||
'sensitive' => (bool) $edit->is_nsfw,
|
'sensitive' => (bool) $edit->is_nsfw,
|
||||||
'created_at' => str_replace('+00:00', 'Z', $edit->created_at->format(DATE_RFC3339_EXTENDED)),
|
'created_at' => str_replace('+00:00', 'Z', $edit->created_at->format(DATE_RFC3339_EXTENDED)),
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
public/js/manifest.js
vendored
BIN
public/js/manifest.js
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -121,7 +121,9 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<p class="lead my-4" v-html="allHistory[historyIndex].content"></p>
|
<div class="w-100 my-4 px-4 text-break justify-content-start">
|
||||||
|
<p class="mb-0" v-html="allHistory[historyIndex].content"></p>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue