Project

General

Profile

Actions

Defect #6992

closed

wrong list number after table

Defect #6992: wrong list number after table

Added by Andras Elso almost 16 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Resolution:
Affected version:

Description

Sample code:

# list1
|_. Test|_. Test2|
|Testing|And yet another test|

# list2

Current result:
  1. list1
    Test Test2
    Testing And yet another test
  1. list2

But the second list2 sould be 2. list2.


Related issues 1 (1 open — 0 closed)

Related to Redmine - Defect #18032: Continued numbered lists (#_) are not working as the textile syntax expectsNewActions

Updated by Ivan Cenov almost 16 years ago Actions #1

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.

Updated by Andras Elso almost 16 years ago Actions #2

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.

Updated by Felix Schäfer almost 16 years ago Actions #3

I'd say that's a bug with textile, might be better when/if we migrate to the current version of the textile formatter.

Updated by Toshi MARUYAMA about 12 years ago Actions #4

  • Related to Defect #18032: Continued numbered lists (#_) are not working as the textile syntax expects added

Updated by Holger Just about 2 years ago Actions #5

  • 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:

  1. list1
    Test Test2
    Testing And yet another test
  2. list2
Actions

Also available in: PDF Atom