summaryrefslogtreecommitdiff
path: root/internal/db/test
diff options
context:
space:
mode:
authorLibravatar tobi <tobi.smethurst@protonmail.com>2025-05-07 11:48:21 +0000
committerLibravatar kim <gruf@noreply.codeberg.org>2025-05-07 11:48:21 +0000
commit1f0c261fd2d3da250f62040236f7629f603f0b03 (patch)
tree19c072a3b1997a9c71e952fce659ac78e1237054 /internal/db/test
parent[chore/frontend] Put fonts in folders, update ecks pee to atkinson-hyperlegib... (diff)
downloadgotosocial-1f0c261fd2d3da250f62040236f7629f603f0b03.tar.xz
[bugfix] Fix indentation on multi-line alt text in web view (#4149)
This pull request closes https://codeberg.org/superseriousbusiness/gotosocial/issues/3403 by searching for alt or title attributes in HTML, looking for the shortest indent (if any) at the start of multiline content of said attributes, and remove that shortest indent from each line. This is a bit more fiddly than the "easy" way of doing it, but it has the advantage that it preserves user-added indents at the start of lines of alt text. Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4149 Co-authored-by: tobi <tobi.smethurst@protonmail.com> Co-committed-by: tobi <tobi.smethurst@protonmail.com>
Diffstat (limited to 'internal/db/test')
0 files changed, 0 insertions, 0 deletions