common api: enable tag linking in markdown mode

This commit is contained in:
William Pitcock 2018-10-14 20:36:11 +00:00
parent e0c035589a
commit 30efa86c05

View File

@ -126,6 +126,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|> String.replace(~r/\r?\n/, "")
|> (&{[], &1}).()
|> Formatter.add_user_links(mentions)
|> Formatter.add_hashtag_links(tags)
|> Formatter.finalize()
end