Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Remove this strange symbol from article titles
Hi all,
does anyone know why in the html of my article titles there’s always a   instead of a blank space? In the homepage, it correctly outputs a space, but, for example, when i send the article by email, i often get a “” symbol followed by a blank space.
For example:
What i write in the title field of txp admin is “This is a title”
What i read in the homepage is “This is a title” (with a single space between each word, though in the html it is “This is a   title”)
What i read in the email is “This is a title”
I don’t paste titles from other sources, like web pages or word docs, but write them by myself. I also use hak_tiny_mce in body and abstract fields, but i don’t think it should affect anything.
View the source of my homepage for concrete examples. It’s quite strange, isn’t it?
Any suggestion appreciated, thanks.
Last edited by vittorio (2006-12-06 14:47:14)
Happily served with Txp: Strampelli.net, Brain Essence, NicolaTranfaglia.com…
Offline
#2 2006-12-06 15:14:24
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: Remove this strange symbol from article titles
@vittorio, it’s there for your own good. ( Dec encoded non-breaking-space HTML entity )
Textile converts all the characters ( like apostrophes, lesser then, etc )to entities, where it’s needed.
You couldn’t do XHTML strict otherwise, plus Your Feeds might have problems.
But here in this case, that you are talking about, it’s probably hardcoded in your defaut article form.
( It is there, so that the posted date, doesn’t stick right after the title text, when rendered)
You can move it away, and put some span tag around it, or put a class on the Header, and apply some horizontal padding on those Headers.
regards, marios
Last edited by marios (2006-12-06 15:22:47)
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
Re: Remove this strange symbol from article titles
marios wrote:
@vittorio, it’s there for your own good. ( Dec encoded non-breaking-space HTML entity )
Textile converts all the characters ( like apostrophes, lesser then, etc )to entities, where it’s needed.
You couldn’t do XHTML strict otherwise, plus Your Feeds might have problems.
But here in this case, that you are talking about, it’s probably hardcoded in your defaut article form.
( It is there, so that the posted date, doesn’t stick right after the title text, when rendered)
You can move it away, and insert a tab between the permlink closing tag and the title tag.
Thanks Marios, but I’m not sure i’ve understood. My form contains:
<h1><txp:permlink><txp:title /></txp:permlink></h1>
what should i change?
Last edited by vittorio (2006-12-06 15:26:43)
Happily served with Txp: Strampelli.net, Brain Essence, NicolaTranfaglia.com…
Offline
#4 2006-12-06 15:27:47
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Remove this strange symbol from article titles
Set ‘Prevent widowed words in article titles?’ in Advanced preferences to ‘no’.
Offline
Re: Remove this strange symbol from article titles
Els wrote:
Set ‘Prevent widowed words in article titles?’ in Advanced preferences to ‘no’.
Hey Els, thanks a lot. It makes sense!
Happily served with Txp: Strampelli.net, Brain Essence, NicolaTranfaglia.com…
Offline
#6 2006-12-06 15:51:10
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: Remove this strange symbol from article titles
Hey, yes ( I feel stupid now )
I have been reading about this new feature in 4.0.4 ( Never used it yet )
regards, marios
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline
#7 2006-12-06 16:34:39
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Remove this strange symbol from article titles
marios wrote:
( I feel stupid now )
Don’t ;) It took me a while to figure out why after upgrading suddenly squares turned up in my article titles…
You can also use the no_widow
attribute in txp:title.
Offline
Re: Remove this strange symbol from article titles
Jesus, why is this function by default on…
Job: Plugo – tvorba eshopu
Projects: Czech free fonts
Offline