Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
2b980dea
Commit
2b980dea
authored
Sep 17, 2017
by
lain
Browse files
Remove tag links for now, they break some regular links.
parent
270c9032
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/common_api/utils.ex
View file @
2b980dea
...
...
@@ -62,7 +62,7 @@ def format_input(text, mentions, tags) do
|>
Formatter
.
linkify
|>
String
.
replace
(
"
\n
"
,
"<br>
\n
"
)
|>
add_user_links
(
mentions
)
|>
add_tag_links
(
tags
)
#
|> add_tag_links(tags)
end
def
add_tag_links
(
text
,
tags
)
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment