Skip to content
Snippets Groups Projects
Commit c93571b8 authored by kaniini's avatar kaniini
Browse files

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
Branches
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment