Project

General

Profile

Textile problem > Numbered list in a table

Added by Elvis Kvalbergs over 15 years ago

I can't figure out how to add numbered list in table as closing numbered list requires line brake, but Redmine Textile parser sees that as closing of table cell. Which is wrong as far as know about Textile. So one numbered list usually works (with not valid html though), but more than one will brake. Example:

header1 header2
numbered list1:
# first entry
# second entry
numbered list 2:
# first entry
# second entry

I am not sure if this will show the same situation as in my Redmine as Preview is not working properly already now.


Replies (2)

RE: Textile problem > Numbered list in a table - Added by Elvis Kvalbergs over 15 years ago

It's cutting table cells here off at all so I am even more confused. The example was like this:

|_.header1|_.header2|
|numbered list1:
# first entry
# second entry
| numbered list 2:
# first entry
# second entry|

RE: Textile problem > Numbered list in a table - Added by Elvis Kvalbergs over 15 years ago

If someone is interested, I found a workaround for this. I discovered that the problem lies in the fact that textile parser closes the first ol, but doesn't open the next one. So I tricked it by using *# for next numbered list ## for next one and *# for next one again. It works like this

|_.header1|_.header2|
|numbered list1:
# first entry
# second entry
| numbered list 2:
*# first entry
*# second entry|
|numbered list3:
## first entry
## second entry
| numbered list 4:
*# first entry
*# second entry|

It doesn't work in this forum at all though. I mean - creating table even with one numbered list here doesn't work at all.

    (1-2/2)