Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-05-03 13:52:42

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

RC3 rev336: article's title not parsed by Textile

I’m not sure this is a real bug, and not a “feature”. But I think it may be an issue. Textile doesn’t parse the article’s title.

I have one example in mind where that can be an issue, I have a website that talk about books, and each book’s title is in cite tag per W3C recommandations (and so can be styled, per local typographic recommandations). But it’s common to use a book’s title in a article’s title, and there we can’t use ?? tag.

Last edited by Jeremie (2005-05-03 13:53:03)

Offline

#2 2005-07-19 19:43:47

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: RC3 rev336: article's title not parsed by Textile

I second that request. Some textiling seems to be in place in txp_article.php as line #70 reads $incoming['Title'] = $textile->TextileThis($incoming['Title'],'',1);, but I haven’t noticed any effects on entities like (c) or --.

If you change that line to read $incoming['Title'] = $textile->TextileThis($incoming['Title']);, titles are textiled in full extent, but of course they are also enclosed into <p> tags then.

Bad.

// w&

Offline

#3 2005-07-19 19:56:49

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: RC3 rev336: article's title not parsed by Textile

Yep, very very bad.

Offline

#4 2005-07-20 14:53:00

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: RC3 rev336: article's title not parsed by Textile

A temporary solution to get rid of the <code><p></code> tags again might be to use the etz_striptag function.
This is a one function plugin that I have used in those cases where textile insists to enclose something in <code><p></code>tags.
So try this function or the plugin, in combination with your hack.
It works in the article body using forms why not in the title field?

regards, marios

Last edited by marios (2005-07-20 14:54:59)


⌃ ⇧ < ⌃ ⇧ >

Offline

#5 2005-07-20 23:35:30

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: RC3 rev336: article's title not parsed by Textile

Thanks, I will look into it.

Offline

#6 2006-01-24 17:49:51

bongbang
New Member
From: Bangkok, Thailand
Registered: 2005-01-22
Posts: 6
Website

Re: RC3 rev336: article's title not parsed by Textile

Did you come up with anything, Jeremie?

Last edited by bongbang (2006-01-24 18:32:45)

Offline

#7 2006-01-24 18:28:52

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: RC3 rev336: article's title not parsed by Textile

Nope, Haven’t found anything great to do this.

Offline

#8 2006-02-25 05:24:21

tjnuckolls
Member
From: Los Angeles, CA
Registered: 2005-03-23
Posts: 23
Website

Re: RC3 rev336: article's title not parsed by Textile

Just curious… Has anyone added to the wishlist the need for textiling the article title/headline? I’m not sure why it isn’t, but if people like it that way, maybe it’d be a nice little preference that could be added…

Textile article titles? Yes/No

Offline

Board footer

Powered by FluxBB