forked from AkkomaGang/akkoma
common api: enable tag linking in markdown mode
This commit is contained in:
parent
e0c035589a
commit
30efa86c05
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ def format_input(text, mentions, tags, "text/markdown") 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