diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index ec8c5a98..8ba222e7 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -328,7 +328,7 @@ we're going to need to do it here in order to allow for translations. <%= comment_html %> <% else %> - <%= I18n.translate(locale, "comments_youtube_disabled_try_reddit_no_js") %> + <%= HTML.escape(I18n.translate(locale, "comments_youtube_disabled_try_reddit_no_js")) %> <% end %>