commit: 4799fa6a87a04e60407d932ceb86fdcfd6378912
parent: 5a7d7f4d81afea195ac14e54d92231f9fa6cbf12
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