mirror of
https://github.com/iv-org/invidious.git
synced 2025-06-12 13:17:48 +02:00
Replace chomp with rstrip
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<% content_for "header" do %>
|
||||
<title><%= query.size > 30 ? query[0,30].chomp("...") + "..." : query %> - Invidious</title>
|
||||
<title><%= query.size > 30 ? query[0,30].rstrip(".") + "..." : query %> - Invidious</title>
|
||||
<% end %>
|
||||
|
||||
<% videos.each do |item| %>
|
||||
|
Reference in New Issue
Block a user