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

This commit is contained in:
Fijxu
2026-08-03 15:24:47 -04:00
parent 4501c9df9c
commit 9c70265a9a

View File

@@ -328,7 +328,7 @@ we're going to need to do it here in order to allow for translations.
<%= comment_html %> <%= comment_html %>
<% else %> <% else %>
<a href="/watch?<%= env.params.query %>&nojs=1"> <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> </a>
<% end %> <% end %>
</noscript> </noscript>