From 68ac18dc9876d8b4328a75b608a8a15e3f322720 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9ry=20Mathieu=20=28Mathius=29?= Date: Sun, 3 Apr 2022 23:26:34 +0200 Subject: [PATCH] Remove useless call Follow this comment : https://github.com/iv-org/invidious/pull/2936#discussion_r841277735 --- src/invidious/comments.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/comments.cr b/src/invidious/comments.cr index 1fd3dcfd4..66cbc4fc5 100644 --- a/src/invidious/comments.cr +++ b/src/invidious/comments.cr @@ -599,7 +599,7 @@ def content_to_comment_html(content) if length_seconds && length_seconds.as_i > 0 text = %(#{text}) else - text = %(#{reduce_uri("youtube.com/watch?v=#{video_id}")}) + text = %(#{"youtube.com/watch?v=#{video_id}"}) end elsif url = run.dig?("navigationEndpoint", "commandMetadata", "webCommandMetadata", "url").try &.as_s text = %(#{reduce_uri(url)})