Defect #6992
closed
wrong list number after table
Added by Andras Elso almost 14 years ago.
Updated 2 months ago.
Description
Sample code:
# list1
|_. Test|_. Test2|
|Testing|And yet another test|
# list2
Current result:
- list1
Test |
Test2 |
Testing |
And yet another test |
- list2
But the second list2 sould be 2. list2.
Hi,
The latter list is another list, not the tail of the first one.
Another question arises: is it possible to set beginning value of a numbered list.
The latter list is another list, not the tail of the first one.
No, because the table sould end with two newline char or one \Z char (whatever is that :o ). So if i want to a new list after a table, i sould use 3 newlinechar.
I'd say that's a bug with textile, might be better when/if we migrate to the current version of the textile formatter.
- Related to Defect #18032: Continued numbered lists (#_) are not working as the textile syntax expects added
- Status changed from New to Closed
To continue a list in Textile, there must not be a empty line before a list item. To continue adding content to the current list item, you can indent the content with two spaces. You still need an empty line before a table for it to be correctly recognized though. As such, the following syntax should work:
# list1
|_. Test|_. Test2|
|Testing|And yet another test|
# list2
This renders as:
- list1
Test |
Test2 |
Testing |
And yet another test |
- list2
Also available in: Atom
PDF