aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Landauer <matthew@openaustralia.org>2013-03-28 10:23:18 +1100
committerLouise Crow <louise.crow@gmail.com>2013-04-08 12:02:13 +0100
commitfdbbb9ecabcae26c7b48d92aee06a0405a72263e (patch)
treedda8cfcc52fb1d4da27a07cd7eeaeec7ad39d172
parente283db7493e8e924a14ba20a8354b5fc4045f92c (diff)
Escaping fix in admin display of events params_yaml
-rw-r--r--app/views/admin_request/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml
index 7de0cbe9a..2b37e8afb 100644
--- a/app/views/admin_request/show.rhtml
+++ b/app/views/admin_request/show.rhtml
@@ -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) %>