Page MenuHomePhabricator

indentation issue with unordered and ordered lists
Closed, ResolvedPublic

Description

Author: clayton.d.huntsman

Description:
Paste this information in your sandbox and do an edit preview ...

Try a mixed list

First an unordered list within a nested ordered list:
<pre>

  • first item in a list
  • next item in a list
    1. start a numbered item sublist
    2. next number
  • see anything wrong with this?

</pre>

Which yields:

  • first item in a list
  • next item in a list
    1. start a numbered item sublist
    2. next number
  • see anything wrong with this?

I do. The first numbered item has an extraordinary amount of white space
between the main and nested levels.

Now try another mixed list

This time try an unordered nested list in an ordered list:
<pre>

  1. first item in a list
  2. next item in a list
    • start a numbered item sublist
    • next number
  3. see anything wrong with this?

</pre>

To produce:

  1. first item in a list
  2. next item in a list
    • start a numbered item sublist
    • next number
  3. see anything wrong with this?

I do. The next numbered item at outer scope is at the same nesting level as the
nested bullets. I've seen other cases where the nested bullets appear to be at
the same level as the outer list. (Why the difference I have no idea.)

Happy bug hunting ;-0)


Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz4896

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:04 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz4896.
bzimport added a subscriber: Unknown Object (MLST).
  • This bug has been marked as a duplicate of 4829 ***