Skip to content

Commit

Permalink
Merge pull request #1901 from alphagov/unsanitize
Browse files Browse the repository at this point in the history
Undo sanitization that is having detrimental effects
  • Loading branch information
maxgds authored Nov 5, 2020
2 parents 5e51741 + 5dd5714 commit 4156cab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div class="govuk-grid-column-two-thirds">
<%= render 'govuk_publishing_components/components/title', title: @content_item.title %>
<%= render 'govuk_publishing_components/components/govspeak', {} do %>
<% sanitize(@content_item.body) %>
<% raw(@content_item.body) %>
<% end %>
</div>
</div>
2 changes: 1 addition & 1 deletion app/views/content_items/statistical_data_set.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<%= render "govuk_publishing_components/components/govspeak", {
direction: page_text_direction,
} do %>
<% sanitize(@content_item.body) %>
<% raw(@content_item.body) %>
<% end %>

</div>
Expand Down

0 comments on commit 4156cab

Please sign in to comment.