mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Updated comment link returns
This commit is contained in:
parent
e7bed765fe
commit
7a569d81ca
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ def parse_link_endpoint(endpoint : JSON::Any, text : String, video_id : String)
|
||||||
# - https://github.com/iv-org/invidious/issues/3062
|
# - https://github.com/iv-org/invidious/issues/3062
|
||||||
text = %(<a href="#{url}">#{text}</a>)
|
text = %(<a href="#{url}">#{text}</a>)
|
||||||
else
|
else
|
||||||
text = %(<a href="#{url}">#{reduce_uri(url)}</a>)
|
text = %(<a href="#{url}">#{reduce_uri(text)}</a>)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return text
|
return text
|
||||||
|
|
Loading…
Reference in a new issue