Details
-
Bug
-
Resolution: Duplicate
-
High
-
None
-
1.4.0
-
Custom install with upgraded ezplatform 1.4.0
Same on a fresh ezdemo install and the builtin server (attached screenshot related to this install)
Tried with PHP 5.5.37 and 5.6.23
Description
When rendering a RichText field containing an embedded object, the HTML output is always escaped. Without any success, I tried :
- to disable twig.autoescape globally
- to add
{% autoescape false %}
directive
- to add `|raw` filter in the ezrichtext_field block (content_fields.html.twig)
Note that all the other parts (paragraph, headings, etc...) within the same RichText field are rendered without any issue which is really weird...
The issue applies to embedded object or embedded image (which is probably the same in the underlying API).
Attachments
Issue Links
- duplicates
-
EZP-25966 Embeds in RichText are rendered as literal HTML in some setups
- Closed