mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-19 03:35:02 +00:00
Merge branch 'patch-1' into 'develop'
Fix finmoji title attribute. See merge request !23
This commit is contained in:
commit
8004ee8ccf
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ defmodule Pleroma.Formatter do
|
||||||
]
|
]
|
||||||
|
|
||||||
Enum.reduce(emoji_list, text, fn (emoji, text) ->
|
Enum.reduce(emoji_list, text, fn (emoji, text) ->
|
||||||
String.replace(text, ":#{String.replace(emoji, "_", "")}:", "<img height='32px' width='32px' alt='#{emoji}' title='#{emoji}' src='#{Pleroma.Web.Endpoint.static_url}/finmoji/128px/#{emoji}-128.png' />")
|
String.replace(text, ":#{String.replace(emoji, "_", "")}:", "<img height='32px' width='32px' alt='#{emoji}' title='#{String.replace(emoji, "_", "")}' src='#{Pleroma.Web.Endpoint.static_url}/finmoji/128px/#{emoji}-128.png' />")
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue