Ticket #81 (reopened defect)
indenting lists
| Reported by: | volker | Owned by: | ralf |
|---|---|---|---|
| Priority: | critical | Component: | mwlib |
| Keywords: | Cc: |
Description (last modified by volker) (diff)
sometimes people seem to try to build nested list in a wrong way. the mediawiki renders that ok (as long as you don't look at the generated html ;-) )
currently we do not parse the combination of indentation and lists a :* is the same as *:
the best thing to do (in my opinion) would be to parse :* as ** and so on (even though is syntactically not correct).
alternatively we could parse it as an indented node which contains a list (and a list item)
In [7]: a = '* blub\n:* bla'
In [8]: uparser.simpleparse(a)
parser.info >> Parsing "'unknown'"
Article 'unknown': 1 children
Paragraph '': 1 children
Node '': 2 children
ItemList '': 1 children
Item '': 1 children
' blub'
ItemList '': 1 children
Item '': 1 children
' bla'
Out[8]: Article 'unknown': 1 children
Change History
Note: See
TracTickets for help on using
tickets.
