fix: allow a tag in various admin text

This commit is contained in:
simon lehericey 2023-02-03 15:17:12 +01:00 committed by mfo
parent 4f0f221e46
commit a1487e9923
7 changed files with 25 additions and 9 deletions

View file

@ -1,7 +1,7 @@
= render Dsfr::CalloutComponent.new(title: @champ.libelle, extra_class_names: ['fr-mb-2w', 'fr-callout--blue-cumulus']) do |c|
- c.with_body do
= string_to_html(@champ.description)
= string_to_html(@champ.description, allow_a: true)
- if @champ.collapsible_explanation_enabled? && @champ.collapsible_explanation_text.present?
%div