diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-01-27 20:10:37 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-01-27 20:10:37 -0600 |
| commit | a951f4a2f8a314e3138bfbc068c04ca39a0276ec (patch) | |
| tree | e37aa035dfb04d73c519a491aeaffc70822ba9b9 | |
| parent | 03de6fbf06de0f6da112f995699a9ed63075d42a (diff) | |
| download | invidious-a951f4a2f8a314e3138bfbc068c04ca39a0276ec.tar.gz invidious-a951f4a2f8a314e3138bfbc068c04ca39a0276ec.tar.bz2 invidious-a951f4a2f8a314e3138bfbc068c04ca39a0276ec.zip | |
Replace chomp with rstrip
| -rw-r--r-- | src/views/search.ecr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/search.ecr b/src/views/search.ecr index 7cdd89c0..c1876153 100644 --- a/src/views/search.ecr +++ b/src/views/search.ecr @@ -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| %> |
