fix wrong break tag and make output html safe

pull/6827/head
Martin Linkhorst 12 years ago
parent 44d919b9d0
commit 1d8fbd02f1
  1. 2
      lib/open_project/reporting/widgets/cost_types.rb

@ -16,7 +16,7 @@ class Widget::CostTypes < Widget::Base
type_selection = radio_button_tag("unit", id, id == @selected_type_id) type_selection = radio_button_tag("unit", id, id == @selected_type_id)
type_selection += label_tag "unit_#{id}", h(label) type_selection += label_tag "unit_#{id}", h(label)
type_selection type_selection
end.join("</br>") end.join("<br />").html_safe
end end
end end
end end

Loading…
Cancel
Save