Skip to content

Commit

Permalink
Eliminating unneeded blank space character from show_date_tag
Browse files Browse the repository at this point in the history
The space character causes the 'Show in x period' background color to
run into the todo description.

Closes #1368
  • Loading branch information
maddentim committed Nov 30, 2012
1 parent 93c6d33 commit f7f8b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/todos_helper.rb
Expand Up @@ -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

Expand Down

0 comments on commit f7f8b79

Please sign in to comment.