diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/views/admin_request/show.rhtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/admin_request/show.rhtml b/app/views/admin_request/show.rhtml index 0c9ed1fe9..0099730cf 100644 --- a/app/views/admin_request/show.rhtml +++ b/app/views/admin_request/show.rhtml @@ -82,7 +82,11 @@ <tr class="<%= cycle('odd', 'even') %>"> <td><%=h incoming_message.id %></td> <% for column in IncomingMessage.content_columns.map { |c| c.name } %> - <td><%=h incoming_message.send(column) %></td> + <% if column == 'raw_data' %> + <td><%=h(incoming_message.send(column)).gsub!(/\n/, '<br>') %></td> + <% else %> + <td><%=h incoming_message.send(column) %></td> + <% end %> <% end %> <td> <% form_tag '../destroy_incoming' do %> |