Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[textile] Textile problem colon and lists
My wife is using textile and often uses the following pattern
Example:
* item 1
* item 2
Unfortunately this produces invalid XHTML
<p>Example:
<ul>item 1</ul>
<ul>item 2</ul>
</p>
It instead should be
<p>Example:</p>
<ul>item 1</ul>
<ul>item 2</ul>
Update I tried this on textism.org and it produces the proper XHTML, however in textpattern 4.2.0 it produces the bad results.
Last edited by mericson (2010-02-26 02:45:16)
Offline
Re: [textile] Textile problem colon and lists
Remember to place an empty line between the list and paragraph. Otherwise the non-block list element is placed inside the open block element (which in this case the paragraph).
Paragraph.
* List item
* List item
mericson wrote:
I tried this on textism.org and it produces the proper XHTML, however in textpattern 4.2.0 it produces the bad results.
Textism uses over five years old Textile version. Because it is so old, it doesn’t support long blocks (p..
, bc..
etc), nor blocks inside blocks. That is why it renders the example correctly.
Offline