mirror of
https://github.com/iv-org/invidious.git
synced 2025-07-18 19:38:30 +00:00
Escape localization for desc chapters widget
This commit is contained in:
parent
32266f5d3a
commit
978580c876
@ -1,10 +1,10 @@
|
||||
<% if !chapters.empty? %>
|
||||
<div class="description-chapters-section">
|
||||
<hr class="description-content-separator"/>
|
||||
<h4><%=translate(locale, "video_chapters_label")%></h4>
|
||||
<h4><%=HTML.escape(translate(locale, "video_chapters_label"))%></h4>
|
||||
|
||||
<% if video.automatically_generated_chapters? %>
|
||||
<h5><%=translate(locale, "video_chapters_auto_generated_label")%> </h5>
|
||||
<h5><%=HTML.escape(translate(locale, "video_chapters_auto_generated_label"))%> </h5>
|
||||
<% end %>
|
||||
|
||||
<div class="description-chapters-content-container">
|
||||
|
Loading…
Reference in New Issue
Block a user