On 8/30/07, Reini Urban <rurban@x-ray.at> wrote:
Sabri LABBENE schrieb:
> I write a list in which I jump a level, someting like
>
> * level 1, element 1
> * level 1, element 2
> *** level 3, element 1
> *** level 3, element 2
> *** level 3, element 3
> ** level 2, element 1
> ** level 2, element 2
> * level 1, element 3
> * level 1, element 4
>
> This will be rendered as (sc_list.PNG)
>
> Do you think this is a bug ??

Well, this is the way how it was defined.
Skipping one ident level was not indented. In strict HTML it
should be disallowed also.

* level 1, element 2
** level 2, element 1
*** level 3, element 1
 
ok. to me breaking user's text is not good.
 
The question was raised from wysiwyg editor that allow people to jump as many levels as they want and when the html is converted back to wikitext, the text is broken.
 
I'll try to fix it.

> I agree that the input was not well formed, but I think list parser
> should do other thing than breaking the text. For example, detect
> level jumps ...
>
> Note: I didn't asked the list because of my attached png file.

Such a small png is quite ok for the list.
 
Sorry.
 
BR
-- Sabri.