Active
Project:
Typogrify
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Oct 2009 at 09:12 UTC
Updated:
30 Nov 2012 at 19:24 UTC
I love the endash/emdash feature, but sometimes the text wraps so that the dash is at the beginning of a line. Would it be possible to make the preceding space (if there is one) a character to make the dash stick to the previous word?
Comments
Comment #1
miklIf someone is willing to find a good way to implement this, please go ahead.
Comment #2
frank ralf commentedIf you look at typogrify.class.php (line 23 ff.) this feature should already be implemented:
So this might be a browser problem?
hth
Frank
Comment #3
mrtoner commentedAdam's point is that   is a breaking space and will thus at times break before the dash. However, instead of as he suggests,   -- a non-breaking space with a similar width to the thin space -- is more appropriate.
(Reset status as there is no patch attached.)