mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-19 16:10:59 +00:00
Merge branch 'feature/markdown-enable-tags' into 'develop'
common api: enable tag linking in markdown mode Closes #322 See merge request pleroma/pleroma!376
This commit is contained in:
commit
c93571b87e
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ defmodule Pleroma.Web.CommonAPI.Utils do
|
||||||
|> String.replace(~r/\r?\n/, "")
|
|> String.replace(~r/\r?\n/, "")
|
||||||
|> (&{[], &1}).()
|
|> (&{[], &1}).()
|
||||||
|> Formatter.add_user_links(mentions)
|
|> Formatter.add_user_links(mentions)
|
||||||
|
|> Formatter.add_hashtag_links(tags)
|
||||||
|> Formatter.finalize()
|
|> Formatter.finalize()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue