summaryrefslogtreecommitdiffstats
path: root/lib/redmine/views/labelled_form_builder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/redmine/views/labelled_form_builder.rb')
-rw-r--r--lib/redmine/views/labelled_form_builder.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/redmine/views/labelled_form_builder.rb b/lib/redmine/views/labelled_form_builder.rb
index 857ac066a..bdf5ffb11 100644
--- a/lib/redmine/views/labelled_form_builder.rb
+++ b/lib/redmine/views/labelled_form_builder.rb
@@ -24,14 +24,14 @@ class Redmine::Views::LabelledFormBuilder < ActionView::Helpers::FormBuilder
%w(date_select)).each do |selector|
src = <<-END_SRC
def #{selector}(field, options = {})
- label_for_field(field, options) + super(field, options.except(:label))
+ label_for_field(field, options) + super(field, options.except(:label)).html_safe
end
END_SRC
class_eval src, __FILE__, __LINE__
end
def select(field, choices, options = {}, html_options = {})
- label_for_field(field, options) + super(field, choices, options, html_options.except(:label))
+ label_for_field(field, options) + super(field, choices, options, html_options.except(:label)).html_safe
end
# Returns a label tag for the given field