Hi, I'm using the last classTextile.php version:
http://textpattern-cms.googlecode.com/svn/releases/4.0.6/source/textpatt...

The following code:

* element 1
* element 2

should create the following HTML:

<ul>
<li>element 1</li>
<li>element 2</li>
</ul>

But unfortunatelly it creates the following:

<ul>
<li>element 1</li>
</ul>
<ul>
<li>element 2</li>
</ul>

How to solve it? I've tryed it with "Line break converter" enabled and dissabled, the result is the same.

Thanks a lot.

Comments

Andrew Schulman’s picture

This is a problem, and it appears to be the same as http://drupal.org/node/349254. 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.

ibc_drupal’s picture

If you test the above code in http://textile.thresholdstate.com/ it is correctly rendered in HTML.

ibc_drupal’s picture

Please, check this simple code:

* element 1
* element 2

a) http://textile.thresholdstate.com/
Result OK:

	<ul>
		<li>element 1</li>
		<li>element 2</li>
	</ul>

b) http://textism.com/tools/textile/
Result WRONG:

	<ul>
		<li>element 1</li>
	</ul>
	<ul>
		<li>element 2</li>
	</ul>
ibc_drupal’s picture

Well, using the classTextile.php from http://textpattern.com/download it works.
Thanks for pointing the other bug in which this solution appears.

lenart’s picture

Component: User interface » Miscellaneous
Status: Active » Fixed

As said above - you need to get the latest classTextile.php

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.