app/views/admin/inquiries/show.html.erb in refinerycms-inquiries-0.9.9.2 vs app/views/admin/inquiries/show.html.erb in refinerycms-inquiries-0.9.9.3
- old
+ new
@@ -63,12 +63,10 @@
<tr>
<td valign='top'>
<strong><%= t('.message') %></strong>
</td>
<td>
- <p style='margin-top: 0px'>
- <%= @inquiry.message.gsub("\r\n\r\n", "\r\n").gsub("\r\n", "</p><p>") %>
- </p>
+ <%= simple_format @inquiry.message, :style => 'margin-top: 0' %>
</td>
</tr>
</table>
</div>