ソースを参照

Fix finmoji title attribute.

tags/v0.9.9
エーロ 7年前
コミット
6c70980bff
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      lib/pleroma/formatter.ex

+ 1
- 1
lib/pleroma/formatter.ex ファイルの表示

@@ -91,7 +91,7 @@ defmodule Pleroma.Formatter 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

読み込み中…
キャンセル
保存