diff --git a/src/invidious/views/components/description_chapters_widget.ecr b/src/invidious/views/components/description_chapters_widget.ecr index 32e726e8..2f7217de 100644 --- a/src/invidious/views/components/description_chapters_widget.ecr +++ b/src/invidious/views/components/description_chapters_widget.ecr @@ -1,10 +1,10 @@ <% if !chapters.empty? %>

-

<%=translate(locale, "video_chapters_label")%>

+

<%=HTML.escape(translate(locale, "video_chapters_label"))%>

<% if video.automatically_generated_chapters? %> -
<%=translate(locale, "video_chapters_auto_generated_label")%>
+
<%=HTML.escape(translate(locale, "video_chapters_auto_generated_label"))%>
<% end %>