Skip to content
Snippets Groups Projects
Commit 8004ee8c authored by lambadalambda's avatar lambadalambda
Browse files

Merge branch 'patch-1' into 'develop'

Fix finmoji title attribute.

See merge request !23
parents 552cfdbe 6c70980b
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,7 @@ def finmojifiy(text) do
]
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment