Steps to reproduce:

(1) Enter the following text in a new topic, using Textile version 2b formatting.

* blah (A)
** blah blah (B)
*** blah blah blah (C)
*** blah blah blah (D)
** blah blah (E)
* blah (F)

(2) Preview or view the resulting page.

Expected result: Item (E) is indented same as item (B); item (F) indented same as item (A).

Actual result: Item (E) is indented same as items (C) and (D); item (F) is intended same as item (B).

Workaround: Add your own </ul> tag at the end of item (D). Ugh.

This is using CVS from about three weeks ago.

Comments

pz’s picture

Another trouble that possibly is related to the formatting trouble but even more annoying. If you use a linebreak in one of the bullets the output will not be xhtml-compliant. Try this for instance

# asdf
asdf
# asdf

the bullet with the linebreak in it will not get an ending li-tag.

moshe weitzman’s picture

I confirm that this is indeed happenning

moshe weitzman’s picture

I can also confirm that this MT site isn't experiencing the same bug (they use some version of textile2b). you can verify that by pasting in the text cited in this issue.

jhriggs’s picture

This is fixed in the latest release of Textile for 4.4 which now uses a PHP port [1] of Brad Choate's Textile.pm Perl module, the engine for his mttextile Movable Type plugin [2]. Both examples now work. (DRUPAL-4-4 and HEAD 2.0/2004052400)

[1] http://jimandlissa.com/project/textilephp
[2] http://bradchoate.com/mt-plugins/textile

Anonymous’s picture