Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-02 20:20:25

saturnflyer
Member
Registered: 2006-01-22
Posts: 40

only simple textile working (no class, or #id)

I want to setup a simple line of text that will be formatted based upon its class.
This:
<notextile>_(classname)My Line of Text_</notextile>

will correctly wrap the text in an em tag, but it incorrectly outputs the parentheses and text inside them.

I have TXP set up to use textile, and I have the particular post setup to use textile. Other basic things work just fine.

Am I missing some setting?

Thanks.

Last edited by saturnflyer (2006-08-02 20:21:56)

Offline

#2 2006-08-02 22:16:02

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

Re: only simple textile working (no class, or #id)

I think – though I am not certain – that is not supported behaviour (applying classes to strong or em).

Offline

#3 2006-08-03 00:39:21

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: only simple textile working (no class, or #id)

I think it probably works with the version of Textile in svn, post-4.0.3.


Alex

Offline

#4 2006-08-03 12:01:55

saturnflyer
Member
Registered: 2006-01-22
Posts: 40

Re: only simple textile working (no class, or #id)

classes on em and strong is definitely supported (http://textism.com/tools/textile/), or at least, should be since its one of the listed examples at Dean’s site.

I looked around, but I’m not familiar enough with this, where can I find svn to see if I can upgrade this?

Offline

#5 2006-08-03 12:49:18

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: only simple textile working (no class, or #id)

FAQ

Offline

#6 2006-08-04 01:06:17

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

Re: only simple textile working (no class, or #id)

classes on em and strong is definitely supported (http://textism.com/tools/textile/), or at least, should be since its one of the listed examples at Dean’s site.

Unfortunately they are two different versions of Textile, which is also different from the one that is used here at the forum, and the one in svn (four diff versions in total). Confused yet? ;) They will hopefully be reunited soon.

The version in svn is your best bet. You can grab it here (under “Download in other formats” click on “Original Format”).

Offline

Board footer

Powered by FluxBB