Details
-
Bug
-
Resolution: Unresolved
-
High
-
None
-
1.13.3
-
None
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>