commit: c93571b87e6c47fadf8fc1d65a1f8324ab355ce8
parent: e0c035589a570d1be7bf0f2f9ab3d78b2ed79462
Author: kaniini <nenolod@gmail.com>
Date: Sun, 14 Oct 2018 20:42:23 +0000
Merge branch 'feature/markdown-enable-tags' into 'develop'
common api: enable tag linking in markdown mode
Closes #322
See merge request pleroma/pleroma!376
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex
@@ -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