summaryrefslogtreecommitdiff
path: root/testrig/testmodels.go
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-09-16 13:00:30 +0200
committerLibravatar tobi <kipvandenbos@noreply.codeberg.org>2025-09-16 13:00:30 +0200
commit10b8d270f2f9f6770772c5786908591c5db1152d (patch)
tree857dcb23c41b5a8760aff8049e15003ccd786c29 /testrig/testmodels.go
parent[bugfix] API status edit history returned in inverse order (#4432) (diff)
downloadgotosocial-10b8d270f2f9f6770772c5786908591c5db1152d.tar.xz
[bugfix/frontend] preserve whitespace in photoswipe captions (#4434)
This PR fixes https://codeberg.org/superseriousbusiness/gotosocial/issues/4382 by updating the photoswipe caption plugin CSS to include whitespace. Thanks @olivergeer for the fix. It also updates the padding + width in "aside" mode to increase the chances of a visitor being able to read an entire caption, in lieu of https://codeberg.org/superseriousbusiness/gotosocial/issues/4413 being fixable. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4434 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'testrig/testmodels.go')
-rw-r--r--testrig/testmodels.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/testrig/testmodels.go b/testrig/testmodels.go
index 256107b80..2c0cc70c7 100644
--- a/testrig/testmodels.go
+++ b/testrig/testmodels.go
@@ -1014,7 +1014,7 @@ func NewTestAttachments() map[string]*gtsmodel.MediaAttachment {
},
},
AccountID: "01F8MH1H7YV1Z7D2C8K2730QBF",
- Description: "This is a track from Nine Inch Nail's \"Ghosts I-V\" album. This is the third track from \"Ghosts II\".",
+ Description: "This is a track from Nine Inch Nails' \"Ghosts I-V\" album.\n\nThis is the third track from \"Ghosts II\".",
ScheduledStatusID: "",
Blurhash: "LZDJO?ayIUof01j[xuayxuayayj[",
Processing: 2,