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

XmlText converter removes paragraph tag when embed (image) tag is in the paragraph

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 5.4.0-beta1
    • 2014.07, 5.4-dev
    • Field types
    • None

    Description

      Editor creates following XML when I embed an image with alignment and text:

      <?xml version="1.0" encoding="utf-8"?>
      <section xmlns:image="http://ez.no/namespaces/ezpublish3/image/" xmlns:xhtml="http://ez.no/namespaces/ezpublish3/xhtml/" xmlns:custom="http://ez.no/namespaces/ezpublish3/custom/"><paragraph><embed view="embed" size="small" align="left" object_id="42"/>First paragraph</paragraph><paragraph>Second paragraph</paragraph></section>
      

      In the output is one paragraph tag missing:

      <div class="object-left"></div>First paragraph<p>Second paragraph</p>
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            blankse Sebastian Blank
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m