diff options
author | William Pitcock <nenolod@dereferenced.org> | 2018-10-14 20:36:11 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2018-10-14 20:36:11 +0000 |
commit | 30efa86c05b7747c62ad219e6c000b5c4ce161ae (patch) | |
tree | afe5bcca40372dd5014b33cc88533f98ee19466e | |
parent | e0c035589a570d1be7bf0f2f9ab3d78b2ed79462 (diff) | |
download | pleroma-30efa86c05b7747c62ad219e6c000b5c4ce161ae.tar.gz |
common api: enable tag linking in markdown mode
-rw-r--r-- | lib/pleroma/web/common_api/utils.ex | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ 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 |