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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user