Skip to content

Commit

Permalink
[ClacoForm] fixes pdf export (#2154)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elorfin committed Jun 15, 2022
1 parent 4a5280d commit 5b57349
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
{{ countries[fieldValues[field.getId()]] }}
{% endif %}
{% elseif field.getFieldFacet().getType() == constant('Claroline\\CoreBundle\\Entity\\Facet\\FieldFacet::HTML_TYPE') %}
{{ fieldValues[field.getId()]|raw }}
{{ fieldValues[field.getId()]|replace({'<o:p>': '', '</o:p>':''})|raw }}
{% elseif field.getFieldFacet().getType() == constant('Claroline\\CoreBundle\\Entity\\Facet\\FieldFacet::CASCADE_TYPE') %}
{{ fieldValues[field.getId()]|join(', ') }}
{% elseif field.getFieldFacet().getType() == constant('Claroline\\CoreBundle\\Entity\\Facet\\FieldFacet::FILE_TYPE') %}
Expand Down

0 comments on commit 5b57349

Please sign in to comment.