ソースを参照

run mix format

tags/v0.9.9
William Pitcock 6年前
コミット
d7eb2e1b65
1個のファイルの変更3行の追加1行の削除
  1. +3
    -1
      lib/pleroma/formatter.ex

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

@@ -200,7 +200,9 @@ defmodule Pleroma.Formatter do
ap_id = info["source_data"]["url"] || ap_id

short_match = String.split(match, "@") |> tl() |> hd()
{uuid, "<span><a class='mention' href='#{ap_id}'>@<span>#{short_match}</span></a></span>"}

{uuid,
"<span><a class='mention' href='#{ap_id}'>@<span>#{short_match}</span></a></span>"}
end)

{subs, uuid_text}


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