Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.3.29
-
Yes
Description
The richtext editor supports itemized and numberc lists. Such lists can be nested inside each other. However, if a list contains both line breaks and sublist, user will get this error when trying to publish the content:
Element section has extra content: itemizedlist
The richtext markup after the XSLT transformation looks like this:
<?xml version="1.0" encoding="UTF-8"?> <section xmlns="http://docbook.org/ns/docbook" xmlns:ezcustom="http://ez.no/xmlns/ezpublish/docbook/custom" xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"> <para>This is a p</para> <para> </para> <itemizedlist> <listitem> <para>item 1</para> </listitem> <listitem> <para> <literallayout class="normal"> item 2 this is a line 2 this is line 3 <itemizedlist> <listitem> <para>item 3</para> </listitem> </itemizedlist> </literallayout> </para> </listitem> </itemizedlist> <itemizedlist> <listitem> <para> </para> </listitem> </itemizedlist> </section>
Designs
Attachments
Issue Links
- relates to
-
IBX-1038 Richtext XML validation error with lists and line breaks
- Confirmed