Last number in autonumbering is always 1
nsummy - December 19, 2008 - 20:36
| Project: | Textile |
| Version: | 6.x-2.0 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
We are using the auto numbering feature where you put the "#" in front of every list item. For some reason the last entry on every list is the number 1. Any idea what would cause this?

#1
Same for unordered lists: the last list item is always surrounded by a separate list.
#2
This is a problem, and it appears to be the same as http://drupal.org/node/392412. It's an upstream bug in Textile: At http://textism.com/tools/textile/index.php, if you run the sample text through, specifically the part that has
* Point one* Point two
## Step 1
## Step 2
## Step 3
* Point three
** Sub point 1
** Sub point 2
then you'll see it's broken there too.
#3
Interestingly, the converter at http://textile.thresholdstate.com/ gets the above code right, but the textile-2.0.0.tar.gz that I downloaded from there gets it wrong. ??
#4
This problem is fixed in the version of classTextile.php found in Textpattern 4.0.8, available at http://textpattern.com/download. That file is dated 2008-02-05, in contrast to the version distributed in textile-2.0.0 which is dated 2006-10-17. A diff between the two shows that the fList() function has been fixed to take care of this problem.
As of right now, the sample text above:
I've notified the proprietors of both sites about this problem, but so far they haven't seen fit to fix it.
Happy texting.
Andrew.
#5
You were right. Thanks Andrew!
#6
#7
I don't think this issue should be marked fixed, until the version of classTextile.php that people are directed to download from upstream doesn't have the problem.