Posted by rhache on January 31, 2009 at 6:31pm
Jump to:
| Project: | Typogrify |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | mikl |
| Status: | closed (fixed) |
Issue Summary
I might be missing something, but I cannot get em dashes to work. Two hypens get converted to an en dash, but three hyphens do not get converted to an em dash.
If em dashes need to be created differently, please let me know.
Sincerely,
Rene
Comments
#1
Hi René,
Which version of Typogrify do you have? I've just tried both em and en dashes with the latest version (1.0-beta3) and both work fine.
On my blog
Em-dashes are neat -- and very long---quite so.renders toEm-dashes are neat – and very long—quite so.. Do you get different results, and in that case, which results?Note that in HTML entities, en-dash is & #8211; and em-dash is & #8212; (sans the space in both cases.)
#2
I have the same version (1.0-beta3).
What I get for two hyphens is a proper en dash.
For three hyphens, I get a en dash followed by a hyphen which looks like this: –-
Just tried it again to verify.
thanks,
Rene
#3
There is actually a setting that was hidden in due to a bug that I've fixed today.
It allows you to specify what behaviour you want from different combinations of dashes – the default settings is that -- produces an em-dash and --- becomes an em-dash with a standard hyphen after it.
The reason I was unable to reproduce the problem was that I had a site where I had configured the setting differently before upgrading to Drupal 6 (where the bug was introduced). Sorry for the inconvenience.
You should be able to configure Typogrify to the behaviour you want in the input filter settings after upgrading to beta4.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.