[Fix #592] Convert html_safe to sanitize
This commit is contained in:
parent
da7af28f9f
commit
4ae9d8ef0d
12 changed files with 17 additions and 15 deletions
|
@ -60,4 +60,4 @@
|
|||
|
||||
- unless champ.description.empty?
|
||||
%div{ id: "description_champs_#{champ.id}", class: ('help-block' unless champ.type_champ == 'engagement') }
|
||||
= champ.description_with_links
|
||||
= sanitize(champ.description_with_links, attributes: %w(href target))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue