Hi xwikiers,
Currently the syntaxes
** list item
and
*
** list item
are giving exactly the same rendering:
<ul><li><ul><li>list
item</li></ul></li></ul>
This is expected and we have even a unit test for that but I think
it's a wrong behavior.
The "problem" is not really at rendering level but at wikimodel XWiki
parser which send the same events for the two syntaxes:
beginList
beginListItem
beginList
beginListItem
[...]
endListItem
endList
endListItem
endList
I propose to change that for
** list item
to render
beginList
beginList
beginListItem
[...]
endListItem
endList
endList
and
<ul><ul><li>list item</li></ul></ul>
and same concept for any other list level (like *** , **** , etc.).
Since XDOM and XHTML support it, here is my +1.
See also
http://jira.xwiki.org/jira/browse/XWIKI-3057
Thanks,
--
Thomas Mortagne