From 9f0d0f717aa77ce996d40d014f1a82f7dcf76348 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Thu, 12 Jul 2012 15:07:18 +0200 Subject: [PATCH] Fix rule escaping --- .../WEB-INF/app/views/rules_configuration/edit.html.erb | 4 ++-- .../webapp/WEB-INF/app/views/rules_configuration/new.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb index d7170ce77b8..97d21069baf 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/edit.html.erb @@ -44,8 +44,8 @@ <%= parameter.name %>: - <%= param_value_input(parameter, "#{h parameter.default_value}", {:name => "rule_param[#{u parameter.name }]", :size => '80x10'}) -%> - <%= parameter.description %> + <%= param_value_input(parameter, "#{h parameter.default_value}", {:name => "rule_param[#{h parameter.name }]", :size => '80x10'}) -%> + <%= h parameter.description %> <% end %> diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb index 1c0518d69cf..55c787a11b3 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules_configuration/new.html.erb @@ -30,8 +30,8 @@ <%= parameter.name %>: - <%= param_value_input(parameter, "", {:name => "rule_param[#{u parameter.name}]", :size => '80x10'}) -%> - <%= parameter.description %> + <%= param_value_input(parameter, "", {:name => "rule_param[#{h parameter.name}]", :size => '80x10'}) -%> + <%= h parameter.description %> <% end %> -- 2.39.5