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

ezxmltext -> ricktext conversion: links inside links

    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>
      

        Activity

        Show
        Vidar Langseid added a comment - PR : https://github.com/ezsystems/ezplatform-xmltext-fieldtype/pull/55

          People

          • Assignee:
            Unassigned
            Reporter:
            Vidar Langseid
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: