Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-01-09 08:40:29

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

textiling quotation marks in article titles?

Is this possible?

To state my question as clearly as possible… the following is default Textile behaviour in e.g. an article body:

Replace single and double primes (’ and “) used as quotation marks with HTML entities for opening and closing quotation marks (‘’ and “”) in readable text, while leaving untouched the primes required within HTML tags.

Great when you’re working with a serif font with curly quotes. That behaviour would be good in the article title as well… say if you’re using a quote as your headline.

I understand there’s a bunch of implications because the article title tag gets used in the page title as well as in xml / feeds.

Should I use html entities? Live with ‘double primes’? Remove the quotation marks?

Offline

#2 2006-01-09 11:41:53

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

Re: textiling quotation marks in article titles?

I usually enter and entities manually as the article title is not textiled.

Offline

#3 2006-01-09 11:49:31

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: textiling quotation marks in article titles?

thanks wet, bespoke titles is the go then

Offline

#4 2006-01-21 13:29:31

Anark
Member
Registered: 2004-08-14
Posts: 101

Re: textiling quotation marks in article titles?

I have just found that Texptattern turns single ticks in titles into HTML entities for single ticks (#39) rather than entities for Typographically Correct Apostrophes (#8217).

Waiter! There’s a bug in my soup!

Offline

Board footer

Powered by FluxBB