Skip to content

Commit

Permalink
Update Govspeak in body with related links partial
Browse files Browse the repository at this point in the history
  • Loading branch information
injms committed Oct 21, 2020
1 parent 22c87e2 commit da2b2b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions app/views/content_items/_body_with_related_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@

<div class="govuk-grid-row responsive-bottom-margin">
<div class="govuk-grid-column-two-thirds">
<%= render 'govuk_publishing_components/components/govspeak',
{ direction: page_text_direction, disable_youtube_expansions: true } do %>
<%= raw @content_item.body %>
<%= render 'govuk_publishing_components/components/govspeak', {
direction: page_text_direction,
disable_youtube_expansions: true
} do %>
<%= sanitize(@content_item.body) %>
<% end %>

<% if @content_item.last_updated && @content_item.schema_name == "help_page" %>
Expand Down

0 comments on commit da2b2b9

Please sign in to comment.