Skip to content

Commit fce8256

Browse files
Steve Laingsteventux
Steve Laing
authored andcommitted
Remove rich_govspeak usage
This feature has been removed from govuk_publishing_components
1 parent 3ecf6fd commit fce8256

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

app/views/content_items/_body_with_related_links.html.erb

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
<%= render 'govuk_publishing_components/components/govspeak',
1313
content: raw(@content_item.body),
1414
direction: page_text_direction,
15-
disable_youtube_expansions: true,
16-
rich_govspeak: true %>
15+
disable_youtube_expansions: true %>
1716

1817
<% if @content_item.last_updated && @content_item.schema_name == "help_page" %>
1918
<%= render "components/published-dates", {

app/views/content_items/contact.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
<% end %>
102102
<% end %>
103103

104-
<%= render 'govuk_publishing_components/components/govspeak', content: body, rich_govspeak: true %>
104+
<%= render 'govuk_publishing_components/components/govspeak', content: body %>
105105
</div>
106106
<%= render 'shared/sidebar_navigation' %>
107107
</div>

app/views/content_items/guide.html+print.erb

+1-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
<%= render 'govuk_publishing_components/components/govspeak',
1818
content: part['body'].html_safe,
1919
direction: page_text_direction,
20-
disable_youtube_expansions: true,
21-
rich_govspeak: true %>
20+
disable_youtube_expansions: true %>
2221
</section>
2322
<% end %>
2423
</div>

app/views/content_items/guide.html.erb

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@
2626
<%= render 'govuk_publishing_components/components/govspeak',
2727
content: @content_item.current_part_body.html_safe,
2828
direction: page_text_direction,
29-
disable_youtube_expansions: true,
30-
rich_govspeak: true %>
29+
disable_youtube_expansions: true %>
3130
<%= render 'govuk_publishing_components/components/previous_and_next_navigation', @content_item.previous_and_next_navigation %>
3231

3332
<% if @content_item.multi_page_guide? %>

0 commit comments

Comments
 (0)