From a4a371a4c9872e7baed436d22e08f0bd8b2bfc5f Mon Sep 17 00:00:00 2001 From: silverpill Date: Fri, 11 Jul 2025 00:35:17 +0200 Subject: [PATCH] FEP-9098: Preserve aspect ratio (#650) Reviewed-on: https://codeberg.org/fediverse/fep/pulls/650 Co-authored-by: silverpill Co-committed-by: silverpill --- fep/9098/fep-9098.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fep/9098/fep-9098.md b/fep/9098/fep-9098.md index cce8d5e..b9f10bc 100644 --- a/fep/9098/fep-9098.md +++ b/fep/9098/fep-9098.md @@ -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.