Skip to content

Commit

Permalink
Merge pull request #943 from alphagov/robust-gone-pages
Browse files Browse the repository at this point in the history
Make Gone pages more robust
  • Loading branch information
tijmenb authored Jun 19, 2018
2 parents 5082ea5 + 086a8ab commit 02bf2a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/content_items/gone.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The information on this page has been removed because it was published in error.
</p>

<%= render 'govuk_publishing_components/components/govspeak', content: @content_item.explanation.html_safe %>
<%= render 'govuk_publishing_components/components/govspeak', content: raw(@content_item.explanation) %>

<% if @content_item.alternative_path.present? %>
<p class="alternative">
Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/unpublishing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The information on this page has been removed because it was published in error.
</p>

<%= render 'govuk_publishing_components/components/govspeak', content: @content_item.explanation.html_safe %>
<%= render 'govuk_publishing_components/components/govspeak', content: raw(@content_item.explanation) %>

<% if @content_item.alternative_url.present? %>
<p class="alternative">
Expand Down

0 comments on commit 02bf2a0

Please sign in to comment.