diff --git a/app/views/timelog/_date_range.html.erb b/app/views/timelog/_date_range.html.erb
index d1ceb6fbd..d95dfab95 100644
--- a/app/views/timelog/_date_range.html.erb
+++ b/app/views/timelog/_date_range.html.erb
@@ -17,7 +17,7 @@
:start => ((label_tag "from", l(:description_date_from), :class => "hidden-for-sighted") +
text_field_tag('from', @from, :size => 10, :disabled => !@free_period) + calendar_for('from')),
:end => ((label_tag "to", l(:description_date_to), :class => "hidden-for-sighted") +
- text_field_tag('to', @to, :size => 10, :disabled => !@free_period) + calendar_for('to'))) %>
+ text_field_tag('to', @to, :size => 10, :disabled => !@free_period) + calendar_for('to'))).html_safe %>