(anonymous guest) (logged out)

Copyright (C) by the contributors. Some rights reserved, license BY-SA.

Sponsored by the Wiki Symposium and the Nuveon GmbH.

 
This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Since multiline paragraphs have been permitted since 0.4, it should also be the case for list elements. I.e.

* some long
list item
should be rendered like
* some long list item
An empty line would be used to start a paragraph.

An empty line marks the end of all lists, even deeply nested ones:

* a
* b
** c

*d
is rendered as
<ul>
<li>a</li>
<li>b</li>
<ul>
<li>c</li>
</ul>
</ul>
<ul>
<li>d</li>
</ul>

In addition, any markup that doesn't belong in a list will end the list. For instance, tables, headings or preformatted blocks are not allowed inside list elements, and thus a markup that starts any of them will cause a list to end. An alsternative solution, ignoring the markup when it appears inside a list, would introduce a nasty special case.

As a general rule of thumb, any inline elements are allowed inside list while the block elements (ones that start on their own line) will cause the list to end.

Add new attachment

Only authorized users are allowed to upload new attachments.

« This particular version was published on 11-Mär-2007 09:33 by RadomirDopieralski.