[IMP] survey: do not sanitize survey description
As access to survey description field is limited to survey users and managers we can let them put whatever they want in the description field. Otherwise they cannot use the full power of web editor, notably embedded videos. PR #44205
This commit is contained in:
@@ -25,7 +25,7 @@ class Survey(models.Model):
|
||||
title = fields.Char('Survey Title', required=True, translate=True)
|
||||
color = fields.Integer('Color Index', default=0)
|
||||
description = fields.Html(
|
||||
"Description", translate=True,
|
||||
"Description", translate=True, sanitize=False, # TDE FIXME: find a way to authorize videos
|
||||
help="The description will be displayed on the home page of the survey. You can use this to give the purpose and guidelines to your candidates before they start it.")
|
||||
description_done = fields.Html(
|
||||
"End Message", translate=True,
|
||||
|
||||
Reference in New Issue
Block a user