Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » General discussions
  3. » [textile] invalid html

#1 2007-09-27 15:04:04

telcontar
Member
Registered: 2007-09-20
Posts: 11

[textile] invalid html

Hello,

the following textile code:

blahblah
  • list item 1
  • list item 2
  • list item 3

produces the following incorrect HTML 4.x or XHTML, no matter which DTD: <p>blahblah <ul> <li>item 1</li> <li>item 2</li> <li>item 3</li> </ul></p>

It should be:
<p>blahblah</p>
<ul> …

Any advice? Am I doing it the wrong way?

Thanks,
— telcontar

Offline

#2 2007-09-27 15:25:58

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

Re: [textile] invalid html

Add an empty line after the blabla

Offline

#3 2007-09-27 15:52:23

telcontar
Member
Registered: 2007-09-20
Posts: 11

Re: [textile] invalid html

I’m using textile 2.0.0 with another application (namely, the Drupal CMS). Though an additional blank line works on textile.thresholdstate.com, it does not work on my drupal page. Does textile.thresholdstate.com use textile 2.0.0? Is there a newer version available?

Thanks,
— telcontar

Offline

#4 2007-09-30 16:24:46

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [textile] invalid html

The download from thresholdstate is the same version as the one included in Textpattern 4.0.5. And in TXP it works the same as on textile.thresholdstate.com (just tested).

If you want to test if the latest revision behaves differently, it’s here.

Offline

#5 2007-10-02 13:19:27

telcontar
Member
Registered: 2007-09-20
Posts: 11

Re: [textile] invalid html

Thanks for the link. It didn’t make any difference, I’ll have to take a closer look at how the drupal textile.module incorporates classTextile.php. It’s supposed to be just a wrapper, really, but something must be going wrong somewhere …

Btw, what’s with the $Id$ tag not being updated properly? That really confused me at first; both the development version and the version included in TXP 4.0.5 and on textile.thresholdstate.com have the same revision/value for $Id$, namely “216 2006-10-17 22:31:53Z zem”, but a different filesize. Since you use TRAC, I assume you use SVN; shouldn’t Subversion update $Id$ tags?

Thanks,
— telcontar

Offline

#6 2007-10-02 13:31:45

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [textile] invalid html

I noticed that as well, but I don’t really use SVN, just take a look at the revisions from time to time to see what is going on ;)
I don’t know about revision procedures, but I’m sure someone else will answer your question.

Offline

#7 2007-10-02 21:53:46

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: [textile] invalid html

telcontar, try again? classTextile.php has been changed in the meantime. See this post and the ones before and after it.

Offline

#8 2007-10-03 07:51:55

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

Re: [textile] invalid html

I made changes in the content of the file (some bugfixes), not in the handling of $Id$. Perhaps one of the other devs (with more SVN knowledge) can answer this one.

Offline

#9 2007-10-05 10:58:56

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: [textile] invalid html

Offline

#10 2007-10-10 09:50:34

telcontar
Member
Registered: 2007-09-20
Posts: 11

Re: [textile] invalid html

I started a new post for my original problem at http://forum.textpattern.com/viewtopic.php?pid=159690 because we digressed into subversion and $Id$ tags, I hope that’s ok!

I figured out the problem only occurs when a list is used in a “long” blockquote block opened with bq..

— telcontar

Offline

  1. Index
  2. » General discussions
  3. » [textile] invalid html

Board footer

Powered by FluxBB