Skip to content

Commit f234a08

Browse files
authored
Render html in options too
wref: https://handlebarsjs.com/guide/expressions.html#html-escaping Fixes HTML not rendering inside answer #19 : #19
1 parent 1cddfbc commit f234a08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/partials/content.handlebars

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
{{#each this.answers}}
3333
<label>
3434
<input type="radio" name="question{{@../index}}" value="{{@key}}">
35-
{{@key}}: {{this}}
35+
{{@key}}: {{{this}}}
3636
</label>
3737

3838
{{/each}}
@@ -58,4 +58,4 @@
5858
</script>
5959
<script src="{{assets_path}}/assets/js/assesment.js"></script>
6060
{{/if}}
61-
{{/if}}
61+
{{/if}}

0 commit comments

Comments
 (0)