Skip to content

Commit

Permalink
Make sure the section ID does not break JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
mirceapiturca authored Oct 14, 2019
1 parent de269c0 commit a95a77f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FAQ/sections/faq.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@

<script type="application/json" data-faq-config="{{ section.id }}" >
{
"sectionId": {{ section.id }},
"sectionId": {{ section.id | json }},
"blockIds": {{ section.blocks | map: 'id' | json }}
}
</script>
Expand Down

0 comments on commit a95a77f

Please sign in to comment.