Invidious is an alternative front-end to YouTube
Apply suggestions from code review
ulmemxpocc4fec89a9bac
diff --git a/src/invidious/frontend/comments_youtube.cr b/src/invidious/frontend/comments_youtube.crindex f9eb44ef..a0e1d783 100644--- a/src/invidious/frontend/comments_youtube.cr+++ b/src/invidious/frontend/comments_youtube.cr@@ -149,7 +149,7 @@ module Invidious::Frontend::Commentsif comments["videoId"]?html << <<-END_HTML- <a rel="noreferrer noopener" href="#{YT_URL.to_s}/watch?v=#{comments["videoId"]}&lc=#{child["commentId"]}" title="#{translate(locale, "YouTube comment permalink")}">[YT]</a>+ <a rel="noreferrer noopener" href="https://www.youtube.com/watch?v=#{comments["videoId"]}&lc=#{child["commentId"]}" title="#{translate(locale, "YouTube comment permalink")}">[YT]</a>|END_HTMLelsif comments["authorId"]?diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecrindex 586b4cff..fd9e1592 100644--- a/src/invidious/views/watch.ecr+++ b/src/invidious/views/watch.ecr@@ -26,7 +26,7 @@<meta name="twitter:player" content="<%= HOST_URL %>/embed/<%= video.id %>"><meta name="twitter:player:width" content="1280"><meta name="twitter:player:height" content="720">-<link rel="alternate noreferrer noopener" href="https://www.youtube.com/watch?v=<%= video.id %>">+<link rel="alternate" href="https://www.youtube.com/watch?v=<%= video.id %>"><%= rendered "components/player_sources" %><title><%= title %> - Invidious</title>