Bug 124339 - HTML import: unordered list after ordered list is rendered as ordered list
Summary: HTML import: unordered list after ordered list is rendered as ordered list
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:html
Depends on:
Blocks: HTML-Import
  Show dependency treegraph
 
Reported: 2019-03-27 08:03 UTC by Andras Timar
Modified: 2022-08-31 16:37 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andras Timar 2019-03-27 08:03:52 UTC
Open this simple HTML in Libreoffice:

<html>
    <body>
        <ol>
            <li>
                <p>List Item 1</p>
                <ol>
                    <li>Ordered list 1</li>
                    <li>Ordered list 2</li>
                </ol>
            </li>
            <li>
                <p>List Item 2</p>
                <ul>
                    <li>This should be</li>
                    <li>unordered list</li>
                    <li>with bullets!</li>
                </ul>
            </li>
        </ol>
    </body>
</html>

Actual result:

    1. List Item 1
        1. Ordered list 1 
        2. Ordered list 2 
    2. List Item 2
        1. This should be 
        2. unordered list 
        3. with bullets! 

Expected result:

    1. List Item 1
        1. Ordered list 1 
        2. Ordered list 2 
    2. List Item 2
        ◦ This should be 
        ◦ unordered list 
        ◦ with bullets! 

It does not work the other way around as well, when the first list is <ul> and second is <ol>, the second becomes unordered as well.
Comment 1 Gabor Kelemen (allotropia) 2019-03-27 10:32:53 UTC
Just a side note: due to the recent Bugzilla outage, commit 

https://cgit.freedesktop.org/libreoffice/core/commit/?id=15e9e6d12aa2d49e114ec0cf8326f2264ccf2640 

references this bug number. 
The problem fixed there was re-reported as bug #124345 just in case.
Comment 2 Buovjaga 2019-08-13 11:24:29 UTC
Repro

Version: 6.4.0.0.alpha0+ (x64)
Build ID: ed882d693f37779e3a09641e7cd43b7a925d2312
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-07-25_00:58:18
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded
Comment 3 Riyadh 2021-02-01 10:06:46 UTC
Reproduced in:

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 396c2ad2daad6fe6a11703d0ae1593929834afe2
CPU threads: 16; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: ar-IQ (ar_IQ); UI: ar-SA
Calc: CL
Comment 4 Stéphane Guillou (stragu) 2022-08-31 16:37:56 UTC
reproduced in:

Version: 7.5.0.0.alpha0+ / LibreOffice Community
Build ID: 24087697d5cf78aac346d4dcea0596373e15a95c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Not specific to the Writer "Web" view, as previously categorised.