aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-01-22 14:06:31 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-01-22 14:06:42 +0100
commit8274017a9f28e1d22784eaf1fb7cf2a735ba08cc (patch)
treebb7d44e9b21d8533941d1c803507c7d0089321a3
parentc3a99c9c255fc0bb178eb6053945eaf07039c3cf (diff)
downloadsonarqube-8274017a9f28e1d22784eaf1fb7cf2a735ba08cc.tar.gz
sonarqube-8274017a9f28e1d22784eaf1fb7cf2a735ba08cc.zip
SONAR-4923 Fix issue on rule modal display
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/rules/_show_modal.html.erb4
1 files 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 @@
<p><%= Internal.text.interpretMacros(@rule.description) %></p>
<% end %>
- <% if @rule.note && !@rule.note.text.strip.blank? %>
- <p><%= @rule.note.html_text -%></p>
+ <% if @rule.note_data && !@rule.note_data.strip.blank? %>
+ <p> <%= Api::Utils.markdown_to_html(@rule.note_data) -%></p>
<% end %>
</div>