Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
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
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
Re: RC3 rev336: article's title not parsed by Textile
Thanks, I will look into it.
Offline
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
Re: RC3 rev336: article's title not parsed by Textile
Nope, Haven’t found anything great to do this.
Offline
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