Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Broken lists

#1 2007-10-16 17:09:27

lithiumdave
Member
From: UK
Registered: 2004-09-14
Posts: 10

Broken lists

I’ve seen the post here (http://forum.textpattern.com/viewtopic.php?id=23997) which I think might be the same issue, but wondering if anyone can confirm for me if it’s the case.

I’m using Textile formatting within an Expression Engine installation, and have been successfully for some time. Recently I’ve been having issues with the last list item in an unordered list becoming it’s own unordered list, enclosing the element following it too. An example – view source on this page:

http://www.resqcs.co.uk/index.php/test

The Textile HTML for this was simply an h3, followed by a ul, followed by an h3, followed by a paragraph. You can see how it’s being mangled. As I say, it’s worked fine till very recently, on the same site on the same server.

My server is running PHP 5.2.4. Lord knows what version of Textile Expression Engine is running – an old one I’d wager.

If anyone can let me know if it’s a known issue, and what I can do about it, I’d be really grateful.

Many, many thanks.

Offline

#2 2007-10-16 17:18:41

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,349
Website GitHub Mastodon Twitter

Re: Broken lists

I think that the latest classTextile.php as changed by Mary sorts out the problem.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2007-10-16 18:20:31

lithiumdave
Member
From: UK
Registered: 2004-09-14
Posts: 10

Re: Broken lists

Excellent – thanks very much for the link, I’ll check it out :)

Offline

#4 2007-11-10 18:50:01

Mr. Smith
Member
From: Denmark
Registered: 2006-11-10
Posts: 56

Re: Broken lists

I’m having the same problem, but how do I update Textile? The Textile homepage is not available.

Do I just need to paste the code from the above link into classTextile.php?

I’m using Textpattern 4.0.5.


Textpattern n00b

Offline

#5 2007-11-10 19:06:46

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Broken lists

Yes, or just manually apply the changes shown in changeset 2640

Offline

#6 2007-11-10 19:17:43

Mr. Smith
Member
From: Denmark
Registered: 2006-11-10
Posts: 56

Re: Broken lists

Beautiful! Thanks!


Textpattern n00b

Offline

#7 2007-11-11 14:44:01

Mr. Smith
Member
From: Denmark
Registered: 2006-11-10
Posts: 56

Re: Broken lists

Next question: Under ‘Pre-flight check’ TXP now says ‘Some Textpattern files have been modified:
/lib/classTextile.php’. I like things to be nice and clean, so is there any way to hide this message? :-)


Textpattern n00b

Offline

#8 2007-11-11 15:27:16

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Broken lists

Try this or this

Offline

#9 2007-11-11 16:32:36

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Broken lists

Next question: Under ‘Pre-flight check’ TXP now says ‘Some Textpattern files have been modified:
/lib/classTextile.php’. I like things to be nice and clean, so is there any way to hide this message? :-)

Remove line 25 from textpattern/checksums.txt that says /lib/classTextile.php: rxxxx (xxxxxxxxxxxxx)

Cheers!

Offline

#10 2007-11-11 16:35:08

Mr. Smith
Member
From: Denmark
Registered: 2006-11-10
Posts: 56

Re: Broken lists

Ruud: Thanks mate! :-)

.. and thank you to Gocom! :-)

Last edited by Mr. Smith (2007-11-11 16:35:59)


Textpattern n00b

Offline

#11 2007-11-11 18:20:12

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Broken lists

Suppressing diagnostic messages is not a good idea, because if there’s a problem and you’re asked to post the diagnostics, it has to be accurate. The file is modified, so diagnostics should say so ;)

Offline

  1. Index
  2. » Archives
  3. » Broken lists

Board footer

Powered by FluxBB