Merge pull request #914 from sgmap/simple-format-on-champ-description
Print champ description with simple format to display line breaks
This commit is contained in:
commit
c7bbe87f77
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