logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 29f2d1909157ae2c94e9126170927e98d286501d
parent: 60d6eb915c9b4a88ce20706aea467ca7e882ee85
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:

Mlib/pleroma/formatter.ex4+---
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