Pleroma.Formatter: width/height to class=emoji
[akkoma] / lib / pleroma / formatter.ex
index dab8910c199b2dcc23cbe6ed96c1b7ab4313d72e..0ec6bcee013dd673867bb2673bd7a2cfc53a16f4 100644 (file)
@@ -113,9 +113,7 @@ defmodule Pleroma.Formatter do
 
       html =
         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