1
0
mirror of https://codeberg.org/fediverse/fep.git synced 2026-08-05 11:46:04 +00:00

FEP-9098: Preserve aspect ratio (#650)

Reviewed-on: https://codeberg.org/fediverse/fep/pulls/650
Co-authored-by: silverpill <silverpill@firemail.cc>
Co-committed-by: silverpill <silverpill@firemail.cc>
This commit is contained in:
silverpill
2025-07-11 00:35:17 +02:00
committed by silverpill
parent f6ae73caf2
commit a4a371a4c9
+2
View File
@@ -106,6 +106,8 @@ To prevent [Cross-Site Scripting (XSS)][XSS] attacks, implementers MUST ensure t
- When HTML content (e.g. `summary`, `content`) is processed, shortcodes are replaced only inside [Text][DOM-Text] nodes.
- Reserved HTML characters in text are escaped before replacing shortcodes.
The aspect ratio of the image SHOULD be preserved.
## Implementations
This document is based on implementations of custom emojis in Pleroma, Mastodon, Misskey and Fedibird.