Skip to content

Commit

Permalink
Escape ERB to fix the code block example
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Brave Grape committed Nov 8, 2019
1 parent 68ba384 commit c773477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/amend_project/content/index.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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') %>
```

0 comments on commit c773477

Please sign in to comment.