Merge branch 'feature/camelcase-hashtags' into 'develop'
formatter: preserve case of hashtags Closes #165 See merge request pleroma/pleroma!262
This commit is contained in:
commit
c957cd98f0
1 changed files with 2 additions and 2 deletions
|
@ -244,8 +244,8 @@ def add_hashtag_links({subs, text}, tags) do
|
|||
|
||||
subs =
|
||||
subs ++
|
||||
Enum.map(tags, fn {_, tag, uuid} ->
|
||||
url = "<a href='#{Pleroma.Web.base_url()}/tag/#{tag}' rel='tag'>##{tag}</a>"
|
||||
Enum.map(tags, fn {tag_text, tag, uuid} ->
|
||||
url = "<a href='#{Pleroma.Web.base_url()}/tag/#{tag}' rel='tag'>#{tag_text}</a>"
|
||||
{uuid, url}
|
||||
end)
|
||||
|
||||
|
|
Loading…
Reference in a new issue