aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrancis <francis>2009-04-02 14:01:37 +0000
committerfrancis <francis>2009-04-02 14:01:37 +0000
commit253cfa4ef657be6e85191f4d0cab7dded300508c (patch)
treece2f697f749c2f59df8d471898b90240a7229ece
parent7245d2d3867459e34696391f38d9e92a6e540915 (diff)
Need to call h to escape emails here
-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 84d54b579..82e71e643 100644
--- a/app/views/admin_request/show.rhtml
+++ b/app/views/admin_request/show.rhtml
@@ -36,7 +36,7 @@
<% for column in InfoRequestEvent.content_columns %>
<td>
<% if column.name == 'params_yaml' %>
- <pre><%= info_request_event.params_yaml %></pre>
+ <pre><%=h info_request_event.params_yaml.gsub(/-/,' ').strip %></pre>
<% elsif column.text? %>
<%=h (info_request_event.send(column.name) || '').gsub(/_/,' ') %>
<% else %>