diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index 583f81334..f5c368217 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -300,7 +300,7 @@ we're going to need to do it here in order to allow for translations.
<%= I18n.translate(locale, "invidious_comments_disabled_text") %>
+<%= HTML.escape(I18n.translate(locale, "invidious_comments_disabled_text")) %>
<%= I18n.translate(locale, "youtube_comments_disabled_text") %>
+<%= HTML.escape(I18n.translate(locale, "youtube_comments_disabled_text")) %>
+