Skip to content

Commit

Permalink
Merge pull request #1014 from alphagov/be-bold
Browse files Browse the repository at this point in the history
Enable bold text in govspeak
  • Loading branch information
steventux authored Aug 8, 2018
2 parents e6c714a + fce8256 commit 6e0e2f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions app/views/content_items/_body_with_related_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
<%= render 'govuk_publishing_components/components/govspeak',
content: raw(@content_item.body),
direction: page_text_direction,
disable_youtube_expansions: true,
rich_govspeak: true %>
disable_youtube_expansions: true %>

<% if @content_item.last_updated && @content_item.schema_name == "help_page" %>
<%= render "components/published-dates", {
Expand Down
2 changes: 1 addition & 1 deletion app/views/content_items/contact.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<% end %>
<% end %>

<%= render 'govuk_publishing_components/components/govspeak', content: body, rich_govspeak: true %>
<%= render 'govuk_publishing_components/components/govspeak', content: body %>
</div>
<%= render 'shared/sidebar_navigation' %>
</div>
3 changes: 1 addition & 2 deletions app/views/content_items/guide.html+print.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
<%= render 'govuk_publishing_components/components/govspeak',
content: part['body'].html_safe,
direction: page_text_direction,
disable_youtube_expansions: true,
rich_govspeak: true %>
disable_youtube_expansions: true %>
</section>
<% end %>
</div>
Expand Down
3 changes: 1 addition & 2 deletions app/views/content_items/guide.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@
<%= render 'govuk_publishing_components/components/govspeak',
content: @content_item.current_part_body.html_safe,
direction: page_text_direction,
disable_youtube_expansions: true,
rich_govspeak: true %>
disable_youtube_expansions: true %>
<%= render 'govuk_publishing_components/components/previous_and_next_navigation', @content_item.previous_and_next_navigation %>

<% if @content_item.multi_page_guide? %>
Expand Down

0 comments on commit 6e0e2f2

Please sign in to comment.