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

View file

@ -189,7 +189,7 @@ def add_hashtag_links({subs, text}, tags) do
end) end)
subs = subs ++ Enum.map(tags, fn ({_, tag, uuid}) -> 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} {uuid, url}
end) end)