Skip to content

Commit

Permalink
Fix Review app code examples using example.options
Browse files Browse the repository at this point in the history
Accidentally missed in 7a2d138
  • Loading branch information
colinrotherham committed Sep 13, 2023
1 parent f35db8d commit 8fa38f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@
{% set codeExamplesHtml %}
<h4 class="govuk-heading-s">Markup</h4>
<pre class="app-code"><code tabindex="0" class="app-code__container hljs language-html">
{{- getHTMLCode(componentName, example.data) | highlight("html") | safe -}}
{{- getHTMLCode(componentName, example.options) | highlight("html") | safe -}}
</code></pre>

<h4 class="govuk-heading-s">Macro</h4>
<pre class="app-code"><code tabindex="0" class="app-code__container hljs language-js">
{{- getNunjucksCode(componentName, example.data) | highlight("js") | safe -}}
{{- getNunjucksCode(componentName, example.options) | highlight("js") | safe -}}
</code></pre>
{% endset %}

Expand Down

0 comments on commit 8fa38f4

Please sign in to comment.