Re: Jumping levels in lists

"Sabri LABBENE" <[email protected]>
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
On 8/30/07, Reini Urban <[email protected]> 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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

_______________________________________________
Phpwiki-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.