Details
-
Bug
-
Resolution: Fixed
-
High
-
2.1.0
-
None
Description
Multiple Custom Tags added one after the other inside text editor in Legacy Bridge are rendered in the new stack wrapped around paragraph tag (using ez_render_field inside twig template).
Steps to reproduce:
1. Start creating a new article.
2. Inside XmlText body section add multiple custom tags one after another. Publish article.
3. Create XSL templates for custom tags in new stack.
4. Render article body in twig using new stack
{{ ez_render_field(content, 'body') }}
Result
In the new stack, custom tags will be rendered inside unwanted paragraph tag.
Example:
<div class="ezxmltext-field">
<p>
<div>
custom tag test
</div>
<div>
custom tag test
</div>
<div>
custom tag test
</div>
</p>
</div>
Attachments
Issue Links
- relates to
-
EZP-29479 Custom tag is wrapped with unwanted paragraph when rendered using new stack
- Closed