From 8274017a9f28e1d22784eaf1fb7cf2a735ba08cc Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Wed, 22 Jan 2014 14:06:31 +0100 Subject: SONAR-4923 Fix issue on rule modal display --- .../src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb index ea19f410b4e..b6e33d7ce79 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb @@ -24,8 +24,8 @@

<%= Internal.text.interpretMacros(@rule.description) %>

<% end %> - <% if @rule.note && !@rule.note.text.strip.blank? %> -

<%= @rule.note.html_text -%>

+ <% if @rule.note_data && !@rule.note_data.strip.blank? %> +

<%= Api::Utils.markdown_to_html(@rule.note_data) -%>

<% end %> -- cgit v1.2.3