Skip to content

Invidious is an alternative front-end to YouTube

fix: add missing `HTML.escape` call for commit 4501c9d

Fijxu9c70265a9a88
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 %>
<a href="/watch?<%= env.params.query %>&nojs=1">
- <%= I18n.translate(locale, "comments_youtube_disabled_try_reddit_no_js") %>
+ <%= HTML.escape(I18n.translate(locale, "comments_youtube_disabled_try_reddit_no_js")) %>
</a>
<% end %>
</noscript>