From c773477bd06ea17c16737ea4def5791512309561 Mon Sep 17 00:00:00 2001 From: Brave Grape Date: Fri, 8 Nov 2019 15:11:35 +0000 Subject: [PATCH] Escape ERB to fix the code block example We need to esape the ERB command to have it rendered as a command in the code block example. Not escaping the ERB means the command is being executed, which is not the point of this content. --- source/amend_project/content/index.html.md.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/amend_project/content/index.html.md.erb b/source/amend_project/content/index.html.md.erb index 9e45821..df32484 100644 --- a/source/amend_project/content/index.html.md.erb +++ b/source/amend_project/content/index.html.md.erb @@ -139,5 +139,5 @@ This warning text format is consistent with the [GOV.UK Design System warning te Insert the following Ruby code into your content file: ```ruby -<%= warning_text('INSERT WARNING TEXT HERE') %> +<%%= warning_text('INSERT WARNING TEXT HERE') %> ```