[wp-trac] [WordPress Trac] #29256: Strings ending with a number and quotation mark get wrong smart quotes
WordPress Trac
noreply at wordpress.org
Fri Jun 19 20:05:54 UTC 2015
#29256: Strings ending with a number and quotation mark get wrong smart quotes
-----------------------------------+--------------------------
Reporter: coreygilmore | Owner: johnbillion
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.3
Component: Formatting | Version: 2.8
Severity: normal | Resolution: fixed
Keywords: wptexturize has-patch | Focuses:
-----------------------------------+--------------------------
Changes (by wonderboymusic):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"32863"]:
{{{
#!CommitTicketReference repository="" revision="32863"
`wptexturize()` improvements:
* Make sure that strings ending with a number and quotation mark get the
proper smart quotes
* Introduce `wptexturize_primes()`, a logic tree to determine whether or
not "7'." represents seven feet, then converts the special char into
either a prime char or a closing quote char.
Adds unit tests.
Props miqrogroove.
Fixes #29256.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29256#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list