Commit c93571b8 authored by kaniini's avatar kaniini

Merge branch 'feature/markdown-enable-tags' into 'develop'

common api: enable tag linking in markdown mode

Closes #322

See merge request pleroma/pleroma!376
parents e0c03558 30efa86c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment