Details
-
Bug
-
Resolution: Fixed
-
High
-
2.3.2, 2.4.2, 2.5.1
Description
If we are trying to output an ezxml field from an object within an ezpage block template override and the ezxml content is something like:
<emphasize>second</emphasize> <strong>paragraph</strong>
And then we define a template like this:
block_view: BannerCarouselBlock: controller: "MarigoldBaseBundle:EzFlowBlocks:bannerCarousel" template: "@ezdesign/blocks/banner_carousel.html.twig" match: Type: banner_carousel
And try to output the ezxml content, the
{% spaceless %}twig operator in content_fields.html.twig will make the output become secondparagraph instead of second paragraph.
It is necessary to remove that operator and the developer should specify it by himself.