diff --git a/src/invidious/views/components/item.ecr b/src/invidious/views/components/item.ecr index 6f027bee7..85ff53a1f 100644 --- a/src/invidious/views/components/item.ecr +++ b/src/invidious/views/components/item.ecr @@ -2,13 +2,13 @@
<%= item.author %>
+<%= HTML.escape(item.author) %>
<%= translate(locale, "`x` subscribers", number_with_separator(item.subscriber_count)) %>
<% if !item.auto_generated %><%= translate(locale, "`x` videos", number_with_separator(item.video_count)) %>
<% end %> @@ -27,15 +27,13 @@<%= number_with_separator(item.video_count) %> videos
<%= item.title %>
+<%= HTML.escape(item.title) %>
+ + +<%= HTML.escape(item.author) %>
-- - <%= item.author %> - -
<% when MixVideo %> - + <% if !env.get("preferences").as(Preferences).thin_mode %><%= HTML.escape(item.title) %>
+<%= HTML.escape(item.title) %>
+ + +<%= HTML.escape(item.author) %>
-- - <%= item.author %> - -
<% when PlaylistVideo %> <% if !env.get("preferences").as(Preferences).thin_mode %> @@ -76,13 +72,11 @@ <% end %> <% end %> -<%= HTML.escape(item.title) %>
+<%= HTML.escape(item.title) %>
+ + +<%= HTML.escape(item.author) %>
-- - <%= item.author %> - -
<%= recode_length_seconds(item.length_seconds) %>
<% end %><%= HTML.escape(item.title) %>
+ <% end %> +<%= HTML.escape(item.title) %>
+ +