Skip to content

Commit

Permalink
Make sure quotes in helptext and answers work (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanmoo authored and Pomax committed Oct 23, 2018
1 parent 308fe6c commit fb259da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<div class="criterion-target" data-meta='{"class": "{{ class }}","id": "{{ id }}","question": "{{ question }}","helptext": "{{ helptext }}","answer": "{{ answer }}"}'></div>
<div class="criterion-target" data-meta='{"class": "{{ class }}","id": "{{ id }}","question": "{{ question }}","helptext": "{{ helptext | addslashes }}","answer": "{{ answer | addslashes }}"}'></div>

0 comments on commit fb259da

Please sign in to comment.