Skip to content

Unordered lists that are at least 2 deep in a nest with ordered lists 'inherit' the ordering from their parent #491

@idletea

Description

@idletea

Describe the bug
Sorry if the title's a mess, but it should be clear with the example markdown and how they look

To Reproduce

Render this on a page:

1. Ordered List 1
    * Unordered List 1
        1. Ordered List 2
            * Unordered List 2
                * Unordered List 3

---

1. Ordered List 1
    1. Ordered List 2 - Item 1
        * Unordered List 1 - Item 1
        * Unordered List 1 - Item 2
    2. Ordered List 2 - Item 2

and see:

20-11-bxwqa-f002e

Note that the HTML is reasonable - it does emit <ol> and <ul> as expected, and the browser-default markers are correct for these lists if you tweak the CSS to not have list-style: none.

Expected behavior

Just like Unordered List 1 in the first snippet I expect any unordered list to get bullets, and definitely not to affect the ordering of the parent ordered list.

Reproducible in both Chrome and Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions