Skip to content

Commit

Permalink
Update Govspeak on world location news article
Browse files Browse the repository at this point in the history
  • Loading branch information
injms committed Oct 29, 2020
1 parent fc58ffe commit 6f0db61
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/views/content_items/world_location_news_article.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@
credit: @content_item.image["credit"],
caption: @content_item.image["caption"] if @content_item.image %>

<%= render 'govuk_publishing_components/components/govspeak',
content: @content_item.body.html_safe,
direction: page_text_direction %>
<%= render 'govuk_publishing_components/components/govspeak', {
direction: page_text_direction,
} do %>
<%= sanitize(@content_item.body) %>
<% end %>
</div>

<div class="dont-print responsive-bottom-margin">
Expand Down

0 comments on commit 6f0db61

Please sign in to comment.