[wp-trac] [WordPress Trac] #22823: Texturize should handle apostrophes before primes
WordPress Trac
noreply at wordpress.org
Tue Feb 26 07:15:00 UTC 2013
#22823: Texturize should handle apostrophes before primes
--------------------------+-----------------------------
Reporter: nacin | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Formatting | Version: 3.4.2
Severity: minor | Resolution:
Keywords: has-patch |
--------------------------+-----------------------------
Changes (by bradyvercher):
* cc: brady@… (added)
Comment:
This appears to affect more than just this case. Apostrophe characters
following numbers that should be converted to single right quotes are
instead converted to prime:
`'Uno es 1' => ‘Uno es 1′`
Even a double quote following a number is converted to a double prime.
`"Dos es 2" => “Dos es 2″`
The trailing characters in both of those examples aren't quotes (`′`
and `″`). Switching the rules for all those characters would seem to
make the prime matching obsolete.
This caused issues for me because the web font I'm using doesn't have
support for the prime character and it creates nasty rendering issues.
Taking a quick look through the best selling fonts on Fontspring and
popular fonts on Font Squirrel, the majority don't appear to have support
for prime or double prime built in, either.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22823#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list