Commit 30efa86c authored by William Pitcock's avatar William Pitcock

common api: enable tag linking in markdown mode

parent e0c03558
......@@ -126,6 +126,7 @@ def format_input(text, mentions, tags, "text/markdown") 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