Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2008-10-27 23:54:17
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Curly quote marks in code posts
Hi there,
I noticed that straight quotes in code snippets are now being rendered as curly quotes – that’s a bit confusing.
Any reason why?
Offline
Re: Curly quote marks in code posts
Yes, if you don’t use code tags bc.
or @
",'`,´
But if you don’t use Textile’s code tags, then it will get converted, as Textile is supposed to do so. It probably doesn’t use/fill your native language’s quote styling stannards, but remember that it’s all about USA, USA xD
Also, note that if someone forgots to use Textile, and therefor quotes will get converted, you can always see the original code by pressing that particular post’s Quote-link.
Last edited by Gocom (2008-10-28 00:47:44)
Offline
#3 2008-10-28 01:25:53
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Curly quote marks in code posts
Gocom wrote:
Yes, if you don’t use code tags
bc.
or @
That’s exactly what I meant, and looking at your code sample in FF 3 I see curly qotes, not straight ones. All the posts I read the past few days dispalyed like that.
Hold on,… around the same time I started using FF 3 and now I just checked in Safari and there they display as straight ones, so it appears to be a browser issue?!
Offline
Re: Curly quote marks in code posts
Hold on,… around the same time I started using FF 3 and now I just checked in Safari and there they display as straight ones, so it appears to be a browser issue?!
I wrote four different quotes :)
Plus, remember that Safari just shows everything as “straight” (because of the so great antialias) and also cause Safari got some nasty <code>
rendering style too. Also note that markup isn’t going to magically change, you know ;)
Last edited by Gocom (2008-10-28 01:44:46)
Offline
#5 2008-10-28 02:02:39
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Curly quote marks in code posts
Gocom wrote:
Also note that markup isn’t going to magically change, you know ;)
I’m well aware of that :-)
I might have been unclear in my explanation… this is what I see in FF 3:
The first two should display as straight ones, but they don’t, except in Safari and Opera.
Offline
Re: Curly quote marks in code posts
masa wrote:
The first two should display as straight ones, but they don’t, except in Safari and Opera.
What is your default monospace font (OS/browser)? That might be font issue (it seems to be related). You seem to have some sort of stylish non-monospace font as a monospace font.
Offline
#7 2008-10-28 02:23:47
- masa
- Member
- From: Asturias, Spain
- Registered: 2005-11-25
- Posts: 1,091
Re: Curly quote marks in code posts
Even mono-spaced fonts have both, straight- and curly-style quotes, so that can’t be the reason. Mine is, always has been, Monaco. I’m getting a feeling this is a bug in FF 3, Mac.
For what it’s worth, the forum’s css uses:
font-family: Monaco, "Bitstream Vera Sans Mono", "Courier New", monospace;
Edit: I just checked in FF 2 and that renders the proper straight quotes in code snippets.
Last edited by masa (2008-10-28 02:37:48)
Offline
Offline