diff --git a/src/views/search.ecr b/src/views/search.ecr
index 7cdd89c08..c18761538 100644
--- a/src/views/search.ecr
+++ b/src/views/search.ecr
@@ -1,5 +1,5 @@
<% content_for "header" do %>
-
<%= query.size > 30 ? query[0,30].chomp("...") + "..." : query %> - Invidious
+<%= query.size > 30 ? query[0,30].rstrip(".") + "..." : query %> - Invidious
<% end %>
<% videos.each do |item| %>