From 1d8fbd02f1c13a3f5a634e9082e76b53ccc6c2b1 Mon Sep 17 00:00:00 2001 From: Martin Linkhorst Date: Fri, 24 May 2013 17:35:28 +0200 Subject: [PATCH] fix wrong break tag and make output html safe --- lib/open_project/reporting/widgets/cost_types.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/open_project/reporting/widgets/cost_types.rb b/lib/open_project/reporting/widgets/cost_types.rb index c25f3b9b62..1681a7941a 100644 --- a/lib/open_project/reporting/widgets/cost_types.rb +++ b/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 += label_tag "unit_#{id}", h(label) type_selection - end.join("
") + end.join("
").html_safe end end end