[SECURITY] Fix stored XSS in help texts

This commit is contained in:
Raphael Michel
2022-02-28 16:13:25 +01:00
committed by Raphael Michel
parent ae21ad02a3
commit 25eaf8d625
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -674,7 +674,7 @@ class BaseQuestionsForm(forms.Form):
label=label, required=required,
min_value=q.valid_number_min or Decimal('0.00'),
max_value=q.valid_number_max,
help_text=q.help_text,
help_text=help_text,
initial=initial.answer if initial else None,
)
elif q.type == Question.TYPE_STRING: