Skip to content

Commit f3630b6

Browse files
committed
Fixing the JSON output so everything is escaped properly
1 parent 6b77929 commit f3630b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/partials/patternSection.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
{{ partial.patternPartialCode | raw }}
1919
</div>
2020
<script type="text/json" id="sg-pattern-data-{{partial.patternPartial}}" class="sg-pattern-data">
21-
{{ partial.patternData }}
21+
{{ partial.patternData | raw }}
2222
</script>
2323
</div><!--end .sg-pattern-->

0 commit comments

Comments
 (0)