commit: ec641f578cfdd6b7046be91e811a38d72ed207e6
parent: 0aced37e8124e07e222f744ef978a7052019654e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Thu, 7 Feb 2019 16:41:20 +0100
Pleroma.Formatter: Replace with/height on emojis to class='emoji'
Fixes: https://git.pleroma.social/pleroma/pleroma/issues/269
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/lib/pleroma/formatter.ex b/lib/pleroma/formatter.ex
@@ -52,9 +52,7 @@ defmodule Pleroma.Formatter do
text,
":#{emoji}:",
if not strip do
- "<img height='32px' width='32px' alt='#{emoji}' title='#{emoji}' src='#{
- MediaProxy.url(file)
- }' />"
+ "<img class='emoji' alt='#{emoji}' title='#{emoji}' src='#{MediaProxy.url(file)}' />"
else
""
end