Project

General

Profile

Actions

Defect #6992

closed

wrong list number after table

Added by Andras Elso almost 14 years ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
2010-11-27
Due date:
% Done:

0%

Estimated time:
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

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

Actions
Actions #1

Updated by Ivan Cenov almost 14 years ago

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.

Actions #2

Updated by Andras Elso almost 14 years ago

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.

Actions #3

Updated by Felix Schäfer almost 14 years ago

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

Actions #4

Updated by Toshi MARUYAMA about 10 years ago

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

Updated by Holger Just 2 months ago

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