Skip to content

Commit e29ffd9

Browse files
Fix Review app code examples using example.options
Accidentally missed in 7a2d138
1 parent 39a19dd commit e29ffd9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/govuk-frontend-review/src/views/macros/showExamples.njk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
{% set codeExamplesHtml %}
3939
<h4 class="govuk-heading-s">Markup</h4>
4040
<pre class="app-code"><code tabindex="0" class="app-code__container hljs language-html">
41-
{{- getHTMLCode(componentName, example.data) | highlight("html") | safe -}}
41+
{{- getHTMLCode(componentName, example.options) | highlight("html") | safe -}}
4242
</code></pre>
4343

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

0 commit comments

Comments
 (0)