-<div class="code-issue" data-issue-key="<%= issue.key -%>" data-issue-component="<%= issue.componentKey() -%>" data-issue-rule="<%= issue.ruleKey().toString() -%>">
+<div class="code-issue" data-issue-key="<%= issue.key -%>" data-issue-component="<%= issue.componentKey() -%>" data-issue-rule="<%= u issue.ruleKey().toString() -%>">
<div class="code-issue-name">
<div style="float: right">
<a href="#" onclick="return openIssuePopup(this)" class="issue-permalink"><img src="<%= ApplicationController.root_context -%>/images/new-window-16.gif"></a>
<% end %>
<div class="note">
- <%= @rule.plugin_name -%>
+ <%= h @rule.plugin_name -%>
<%= image_tag 'sep12.png' -%>
- <a href="#" onclick="return openIssueRulePopup(this)"><%= @rule.plugin_rule_key -%></a>
+ <a href="#" onclick="return openIssueRulePopup(this)"><%= h @rule.plugin_rule_key -%></a>
</div>
\ No newline at end of file
<% if @rule %>
<div class="modal-head">
<h2 class="rule-title">
- <%= @rule.name %>
+ <%= h @rule.name %>
</h2>
<% unless @rule.ready? %>
<div class="rule-status">
</div>
<% end %>
<ul class="modal-head-metadata">
- <li><%= @rule.plugin_name -%> : <%= @rule.plugin_rule_key -%></li>
+ <li><%= h @rule.plugin_name -%> : <%= h @rule.plugin_rule_key -%></li>
</ul>
</div>
<div>
- <h1 class="rule-title"><%= @rule.name %></h1>
+ <h1 class="rule-title"><%= h @rule.name %></h1>
<% unless @rule.ready? %>
<div class="rule-status">
<% if @rule.beta? %>
</div>
<div class="subtitle">
-<%= @rule.plugin_name -%> : <%= @rule.plugin_rule_key -%>
+<%= h @rule.plugin_name -%> : <%= h @rule.plugin_rule_key -%>
</div>
<div class="rule_detail">