diff --git a/app/controllers/miq_policy_controller.rb b/app/controllers/miq_policy_controller.rb index a5d60c97193..2a54503542e 100644 --- a/app/controllers/miq_policy_controller.rb +++ b/app/controllers/miq_policy_controller.rb @@ -628,11 +628,11 @@ def replace_right_cell(nodetype, replace_trees = [], presenter = nil) else if @right_cell_text == @edit _("Editing %{model} Condition \"%{name}\"") % - {:name => @condition.description.gsub(/'/, "\\'"), + {:name => @condition.description, :model => ui_lookup(:model => @edit[:new][:towhat])} else _("%{model} Condition \"%{name}\"") % - {:name => @condition.description.gsub(/'/, "\\'"), + {:name => @condition.description, :model => ui_lookup(:model => @condition.towhat)} end end