Include the '#' symbol into the link itself

This commit is contained in:
Francis Dinh 2018-03-27 02:00:04 -04:00
parent bd4926288e
commit 61692c7efa
1 changed files with 1 additions and 1 deletions

View File

@ -189,7 +189,7 @@ def add_hashtag_links({subs, text}, tags) do
end)
subs = subs ++ Enum.map(tags, fn ({_, tag, uuid}) ->
url = "#<a href='#{Pleroma.Web.base_url}/tag/#{tag}' rel='tag'>#{tag}</a>"
url = "<a href='#{Pleroma.Web.base_url}/tag/#{tag}' rel='tag'>##{tag}</a>"
{uuid, url}
end)