Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[textile] Ordered and unordered list errors
I’m sorry if has been covered elsewhere or answered already, I’ve searched everywhere but I can’t find any posts related to this. However, I can’t believe that, if this is a real issue, it hasn’t been noticed already.
When I create a list in a Textpattern article — whether it’s an ordered list or an unordered list, it doesn’t matter — Textile creates a second ul or ol for the last item:
Here’s an example:
* OSU Mom's Weekend May 2-3 - Drawings, games, prizes.
* Men's Shopping Day - 10% off for men customers.
* Mother's Day May 10 - Orchids direct from Hawaii.
* Crabtree & Evelyn Fragrance of the Month - Rosewater - 10% off all Rosewater products - all of May.
* CHS prom May 17.
* CVHS prom May 31.
* Memorial Day May 26. Store closed.
Turns into this code:
<ul>
<li><span class="caps">OSU</span> Mom’s Weekend May 2-3 – Drawings, games, prizes.</li>
<li>Men’s Shopping Day – 10% off for men customers.</li>
<li>Mother’s Day May 10 – Orchids direct from Hawaii.</li>
<li>Crabtree & Evelyn Fragrance of the Month – Rosewater – 10% off all Rosewater products – all of May.</li>
<li><span class="caps">CHS</span> prom May 17.</li>
<li><span class="caps">CVHS</span> prom May 31.</li>
</ul>
<ul>
<li>Memorial Day May 26. Store closed.</li>
</ul>
Any ideas what I could be doing wrong here?
I’m running 4.0.5
Offline
Re: [textile] Ordered and unordered list errors
Upgrade to TXP 4.0.6 (it’s fixed in that version), then save the affected articles again.
Offline
Re: [textile] Ordered and unordered list errors
Thanks Ruud —
I suspected that it might be fixed in 4.0.6, I just haven’t had a chance to test all my plugins in ’6 yet.
-Ryan
Offline
Re: [textile] Ordered and unordered list errors
As a temporary solution you can copy classTextile.php from 4.0.6 to your 4.0.5 install.
Offline
Re: [textile] Ordered and unordered list errors
Ruud —
Works Brilliantly!
Many thanks!
Offline
#6 2008-07-30 12:17:11
- fritz1903
- Member
- From: Berlin/Leipzig, Germany
- Registered: 2005-10-24
- Posts: 13
Re: [textile] Ordered and unordered list errors
I have the same problem for some longer time. It’s there since my Hoster updated/upgraded the servers last time. I have the problem on different versions of TXP. I’ll factor out the old versions, but it hasn’t been better for the current version, too. It might be a PHP-thing with my Hoster, but I don’t know about it – I am just confused.
Here’s my server-configuration:
PHP-Version: 5.2.5
Register globals: 1
GD-Graphikbibliothek: bundled (2.0.34 compatible); Unterstützte Grafikformate: GIF, JPG, PNG.
Lokale Serverzeit: 2008-07-30 13:50:16
MySQL: 5.0.24a-Debian_9ubuntu2.4-log
Regionale Einstellungen: de_DE.UTF-8
Server: Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8b PHP/5.2.5
Apache-Version: Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8b PHP/5.2.5
PHP Server API: apache2handler
RFC-2616-Header:
Betriebssystem des Servers: Linux 2.6.17-10-server
Please let me know, if you have just an approach or maybe a solution… , Thanks :-)
Last edited by fritz1903 (2008-07-30 12:17:58)
Offline
Re: [textile] Ordered and unordered list errors
Have you tried saving the article again?
Offline
#8 2008-07-30 13:29:13
- fritz1903
- Member
- From: Berlin/Leipzig, Germany
- Registered: 2005-10-24
- Posts: 13
Re: [textile] Ordered and unordered list errors
Thanks Ruud! It works for TXP 4.0.6 now. To think, that Textile is executed in that moment, when I retrieve an article, is/was a naive assumption by me.
For older installations I will use the newer Textile from 4.0.6, as described above, until there is some time for upgrading those.
Offline