Thomas Mortagne wrote:
> On Sat, Jan 3, 2009 at 3:16 PM, Marius Dumitru Florea
> <[email protected]> wrote:
>> Thomas Mortagne wrote:

[snip]

> Does this means it's impossible to have a second level list in XHTML ?

Yes, afaik a 2nd level list must be nested within a 1st level list item.

I'm planing to overwrite the default support for lists in the WYSIWYG 
editor (see http://jira.xwiki.org/jira/browse/XWIKI-3061 ) and I'm for 
preventing Nth level lists without a N-1th level.

> 
>> For me
>>
>> ** list item
>>
>> is not valid since you can't have a 2nd level list without a 1st level
>> one. And even if you consider it valid, I don't see why you need to
>> generate a different, invalid, XHTML for it.
> 
> Even if it's not valid for XHTML it should be a XHTML renderer choice
> and not XWiki parser.
> 
> For me, on the wiki syntax side, this is perfectly valid, the same way
> that you can start heading in a page by a second level header for
> example.

I really don't see the need for having 2nd level list without a 1st 
level list. Why would a use want it?

> Also, it's valid in OpenOffice or MSWord so this is another limitation
> when importing.
> 
>> Thanks,
>> Marius
>>
>>> See also http://jira.xwiki.org/jira/browse/XWIKI-3057
>>>
>>> Thanks,
>> _______________________________________________
>> devs mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
> 
> 
> 
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to