Bug 115376 - Lists exported to EPUB are generating p elements instead of ol/ul + li
Summary: Lists exported to EPUB are generating p elements instead of ol/ul + li
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
 
Reported: 2018-02-01 14:37 UTC by Daniel Glazman
Modified: 2019-11-24 15:45 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
ODT test file (104.49 KB, application/vnd.oasis.opendocument.text)
2018-02-01 14:37 UTC, Daniel Glazman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Glazman 2018-02-01 14:37:44 UTC
Created attachment 139498 [details]
ODT test file

Tested with Version: 6.1.0.0.alpha0+
Build ID: 3171066a959b52cd483bb22a0d1046e633f092f6

Steps to reproduce:

  1. launch LibreOffice
  2. open the attached test document
  3. File > Export As... > Export directly as EPUB
  4. unzip the *.epub you just saved
  5. open file OEBPS/sections/section002.xhtml in a source editor
  6. navigate to the end of the document

EXPECTED RESULT:

  Something in the line of

    <ol>
      <li><p class="para2><span class="span0">First list item</span></p></li>
      <li><p class="para2><span class="span0">second list item</span></p></li>
      <li><p class="para2><span class="span0">third list item</span></p></li>
    </ol>

ACTUAL RESULT:

    <p class="para2">
        <span class="span0">First list item</span>
    </p>
    <p class="para2">
        <span class="span0">second list item</span>
    </p>
    <p class="para2">
        <span class="span0">third list item</span>
    </p>
Comment 1 Alex Thurgood 2018-02-13 09:16:22 UTC
Confirming with 

Version: 6.1.0.0.alpha0+
Build ID: acd16c7e29c1619986d4d8b3b520da089ba34660
CPU threads: 4; OS: Mac OS X 10.13.3; UI render: default; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group


<p class="para2"> </p><p class="para2"><span class="span0">First list item</span></p>
<p class="para2"><span class="span0">second list item</span></p>
<p class="para2"><span class="span0">third list item</span></p>
Comment 2 Alex Thurgood 2018-02-13 09:22:21 UTC
*** Bug 115377 has been marked as a duplicate of this bug. ***
Comment 3 lbartolome 2018-11-16 19:38:28 UTC
Confirmed in 6.2.0.0.alpha1 (x64)
Comment 4 QA Administrators 2019-11-17 03:31:56 UTC Comment hidden (obsolete)
Comment 5 Roman Kuznetsov 2019-11-24 15:45:53 UTC
still repro in

Версия: 6.5.0.0.alpha0+ (x64)
ID сборки: 32dcf3f0fdafcf44457842a8aa4f54d30d856ca9
Потоков ЦП: 4; ОС:Windows 10.0 Build 17763; Отрисовка ИП: GL; VCL: win; 
Локаль: ru-RU (ru_RU); Язык интерфейса: ru-RU
Calc: threaded