aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-28 10:23:18 +1100
committerMatthew Landauer <matthew@openaustralia.org>2013-03-28 10:23:18 +1100
commit4a05a8182817512cd8908b90959d0e22b98126f1 (patch)
tree560affd2b4d71896df7d1c5f60bbf5cad12823ae
parent80139c20784c2e58b4a6a6d3070f3e1b34120562 (diff)
Escaping fix in admin display of events params_yaml
-rw-r--r--app/views/admin_request/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_request/show.html.erb b/app/views/admin_request/show.html.erb
index 00627c083..9cbcb68f0 100644
--- a/app/views/admin_request/show.html.erb
+++ b/app/views/admin_request/show.html.erb
@@ -207,7 +207,7 @@
</td>
<td>
<% if column_name == 'params_yaml' %>
- <%= info_request_event.params_yaml_as_html %>
+ <%= info_request_event.params_yaml_as_html.html_safe %>
<% elsif value.nil? %>
nil
<% elsif %w(text string).include?(type) %>