From f7f8b79f5b37a8cc941d47b203fe0c18985fb8b5 Mon Sep 17 00:00:00 2001 From: tim madden Date: Fri, 30 Nov 2012 16:08:25 -0600 Subject: [PATCH] Eliminating unneeded blank space character from show_date_tag The space character causes the 'Show in x period' background color to run into the todo description. Closes #1368 --- app/helpers/todos_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/todos_helper.rb b/app/helpers/todos_helper.rb index 51f94b888..663979f03 100644 --- a/app/helpers/todos_helper.rb +++ b/app/helpers/todos_helper.rb @@ -188,7 +188,7 @@ def staleness_class(item) def show_date_tag(date, the_class, text) content_tag(:a, :title => format_date(date)) do - content_tag(:span, :class => the_class) { text + " "} + content_tag(:span, :class => the_class) { text } end end