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?
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?
Comments
Comment #1
Schneck commentedSame for unordered lists: the last list item is always surrounded by a separate list.
Comment #2
Andrew Schulman commentedThis 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
then you'll see it's broken there too.
Comment #3
Andrew Schulman commentedInterestingly, 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. ??
Comment #4
Andrew Schulman commentedThis 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.
Comment #5
nsummy commentedYou were right. Thanks Andrew!
Comment #6
nsummy commentedComment #7
Andrew Schulman commentedI 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.
Comment #8
sawtelle commentedCreated "INSTALL.txt points to out-of-date classTextile.php sources" http://drupal.org/node/802320 so that the multiplicity of issues caused by that problem may be set to status:fixed and eventually close.