Description
The html formatter doesn't allow to put a numbered list inside bullet lists -- it puts another bullet list instead.
Steps to reproduce
- Create a Wiki Creole parser plugin according to the specification
- Spend 2 hours trying to realize why list mixing doesn't work
- Insert some debugging messages into the emitter
- Realize the bug is in the formatter
Example
http://helios.wmid.amu.edu.pl/~sheep/cgi-bin/index.cgi/Sand_box?action=show
Details
This code should produce mixed lists (number, bullet, number) but fails at some moment (produces number, bullet, bullet):
self.formatter.number_list(1) self.formatter.listitem(1) self.formatter.text('number') self.formatter.bullet_list(1) self.formatter.listitem(1) self.formatter.text('bullet') self.formatter.number_list(1) self.formatter.listitem(1) self.formatter.text('number') self.formatter.listitem(0) self.formatter.number_list(0) self.formatter.listitem(0) self.formatter.bullet_list(0) self.formatter.listitem(0) self.formatter.number_list(0)
MoinMoin Version |
1.5.4 |
OS and Version |
|
Python Version |
|
Server Setup |
|
Server Details |
|
Language you are using the wiki in (set in the browser/UserPreferences) |
|
Workaround
Don't mix lists
Discussion
Somehow the default moin parser handles this...
- ziew
- ziew
- ziew
- ziew
- ziew
- ziew
And in the end it seems that I'm just an idiot.
It was my css that was producing those bullet lists.
Plan
- Priority:
- Assigned to:
- Status: