mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-23 22:39:31 -05:00
Escape localization for desc chapters widget
This commit is contained in:
parent
e53a483bcb
commit
6f295bb33b
@ -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