Skip to content

Commit

Permalink
Render html in options too
Browse files Browse the repository at this point in the history
wref: https://handlebarsjs.com/guide/expressions.html#html-escaping
Fixes HTML not rendering inside answer #19 : #19
  • Loading branch information
vjspranav authored Jun 1, 2021
1 parent 1cddfbc commit f234a08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/partials/content.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
{{#each this.answers}}
<label>
<input type="radio" name="question{{@../index}}" value="{{@key}}">
{{@key}}: {{this}}
{{@key}}: {{{this}}}
</label>

{{/each}}
Expand All @@ -58,4 +58,4 @@
</script>
<script src="{{assets_path}}/assets/js/assesment.js"></script>
{{/if}}
{{/if}}
{{/if}}

0 comments on commit f234a08

Please sign in to comment.