diff options
| author | Samantaz Fox <coding@samantaz.fr> | 2023-06-12 21:04:57 +0200 |
|---|---|---|
| committer | Samantaz Fox <coding@samantaz.fr> | 2023-06-12 21:04:57 +0200 |
| commit | df6b51f9c6de61f6f6b4db797856ff64d02f8223 (patch) | |
| tree | e8cd701fd0d3230287d4f6e7cac1a73265b0b393 /src | |
| parent | 875b8ea0c2f1edf4d231c1e939fd75758fad481d (diff) | |
| parent | 7a569d81ca0877ac081d7aa89a2acaf7f6d08940 (diff) | |
| download | invidious-df6b51f9c6de61f6f6b4db797856ff64d02f8223.tar.gz invidious-df6b51f9c6de61f6f6b4db797856ff64d02f8223.tar.bz2 invidious-df6b51f9c6de61f6f6b4db797856ff64d02f8223.zip | |
Comments: Fix display of youtube links (#3911)
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/helpers/utils.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/helpers/utils.cr b/src/invidious/helpers/utils.cr index 48bf769f..a006d602 100644 --- a/src/invidious/helpers/utils.cr +++ b/src/invidious/helpers/utils.cr @@ -440,7 +440,7 @@ def parse_link_endpoint(endpoint : JSON::Any, text : String, video_id : String) # - https://github.com/iv-org/invidious/issues/3062 text = %(<a href="#{url}">#{text}</a>) else - text = %(<a href="#{url}">#{reduce_uri(url)}</a>) + text = %(<a href="#{url}">#{reduce_uri(text)}</a>) end end return text |
