mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-22 16:19:53 +05:30
Escape item titles in search page
This commit is contained in:
parent
0d536d11e3
commit
9dc4f8a1aa
@ -44,7 +44,7 @@
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<p><%= item.title %></p>
|
||||
<p><%= HTML.escape(item.title) %></p>
|
||||
</a>
|
||||
<p>
|
||||
<b>
|
||||
@ -76,7 +76,7 @@
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
<p><a href="/watch?v=<%= item.id %>"><%= item.title %></a></p>
|
||||
<p><a href="/watch?v=<%= item.id %>"><%= HTML.escape(item.title) %></a></p>
|
||||
</a>
|
||||
<p>
|
||||
<b>
|
||||
@ -137,7 +137,7 @@
|
||||
</div>
|
||||
</a>
|
||||
<% end %>
|
||||
<p><a href="/watch?v=<%= item.id %>"><%= item.title %></a></p>
|
||||
<p><a href="/watch?v=<%= item.id %>"><%= HTML.escape(item.title) %></a></p>
|
||||
<p>
|
||||
<b>
|
||||
<a style="width:100%" href="/channel/<%= item.ucid %>"><%= item.author %></a>
|
||||
|
Loading…
Reference in New Issue
Block a user