Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-29331

Custom Tags added in Legacy Bridge gets rendered inside paragraph in the new stack

    XMLWordPrintable

Details

    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

        Activity

          People

            Unassigned Unassigned
            mateusz.bieniek@ibexa.co Mateusz Bieniek
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: