diff options
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/qa/unit/EPUBExportTest.cxx | 2 | ||||
-rw-r--r-- | writerperfect/qa/unit/data/writer/epubexport/list.fodt | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/writerperfect/qa/unit/EPUBExportTest.cxx b/writerperfect/qa/unit/EPUBExportTest.cxx index 28349d8bf619..5b3f4b9a0c27 100644 --- a/writerperfect/qa/unit/EPUBExportTest.cxx +++ b/writerperfect/qa/unit/EPUBExportTest.cxx @@ -433,6 +433,8 @@ void EPUBExportTest::testList() mpXmlDoc = parseExport("OEBPS/sections/section0001.xhtml"); // This was "C", i.e. in-list content was ignored. assertXPathContent(mpXmlDoc, "//xhtml:p[2]/xhtml:span", "B"); + // Test nested list content. + assertXPathContent(mpXmlDoc, "//xhtml:p[6]/xhtml:span", "F"); } void EPUBExportTest::testImage() diff --git a/writerperfect/qa/unit/data/writer/epubexport/list.fodt b/writerperfect/qa/unit/data/writer/epubexport/list.fodt index 399ce78b2247..9c02b9d097bc 100644 --- a/writerperfect/qa/unit/data/writer/epubexport/list.fodt +++ b/writerperfect/qa/unit/data/writer/epubexport/list.fodt @@ -19,6 +19,18 @@ </text:list-item> </text:list> <text:p>C</text:p> + <text:p>D</text:p> + <text:list xml:id="list111055674" text:style-name="L1"> + <text:list-item> + <text:p text:style-name="P1">E</text:p> + <text:list> + <text:list-item> + <text:p text:style-name="P1">F</text:p> + </text:list-item> + </text:list> + </text:list-item> + </text:list> + <text:p>G</text:p> </office:text> </office:body> </office:document> |