aboutsummaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/request/_outgoing_correspondence.text.erb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/request/_outgoing_correspondence.text.erb b/app/views/request/_outgoing_correspondence.text.erb
index c3f2b935d..fe2ad901c 100644
--- a/app/views/request/_outgoing_correspondence.text.erb
+++ b/app/views/request/_outgoing_correspondence.text.erb
@@ -1,6 +1,4 @@
<%= _('From:') %> <% if @info_request.user_name %><%= @info_request.user_name %><% else %><%= "[#{_('An anonymous user')}]"%><% end %>
<%= _('To:') %> <%= @info_request.public_body.name %>
<%= _('Date:') %> <%= simple_date(info_request_event.created_at) %>
-<%- text = outgoing_message.body.strip
- outgoing_message.remove_privacy_sensitive_things!(text) %>
-<%= text %>
+<%= outgoing_message.get_body_for_text_display %>