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

ezxmltext -> ricktext conversion: links inside links

    XMLWordPrintable

    Details

      Description

      It turns out that ezxmltext may contain link elements inside link elements. ( I guess such links are created due to a bug in legacy, or just due to lack of validation)

      Such structure will not validate when converted to richtext, so such link elements must be flatten

      <?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>paragraph text and (
              <link url_id="8">
                  <link url_id="42">some link text</link>
              </link>), after link.
          </paragraph>
      </section>
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              vidar.langseid@ez.no Vidar Langseid
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: