From 30efa86c05b7747c62ad219e6c000b5c4ce161ae Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 14 Oct 2018 20:36:11 +0000 Subject: [PATCH] common api: enable tag linking in markdown mode --- lib/pleroma/web/common_api/utils.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index 667027c02..4cbbd0c7d 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -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