Print champ description with simple format to display line breaks
This commit is contained in:
parent
33bf3d9f63
commit
eabc24b432
1 changed files with 1 additions and 1 deletions
|
@ -60,4 +60,4 @@
|
||||||
|
|
||||||
- unless champ.description.empty?
|
- unless champ.description.empty?
|
||||||
%div{ id: "description_champs_#{champ.id}", class: ('help-block' unless champ.type_champ == 'engagement') }
|
%div{ id: "description_champs_#{champ.id}", class: ('help-block' unless champ.type_champ == 'engagement') }
|
||||||
= sanitize(champ.description_with_links, attributes: %w(href target))
|
= simple_format(sanitize(champ.description_with_links, attributes: %w(href target)))
|
||||||
|
|
Loading…
Reference in a new issue