[wp-trac] [WordPress Trac] #29256: Strings ending with a number and quotation mark get wrong smart quotes
WordPress Trac
noreply at wordpress.org
Mon Aug 18 22:52:49 UTC 2014
#29256: Strings ending with a number and quotation mark get wrong smart quotes
--------------------------+-----------------------------
Reporter: coreygilmore | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 2.8
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When a string ends in a number followed by a single or double quote, such
as `"Lorem ipsum dolor sit amet 1234"` or `'Etiam eu egestas dui 1234'`
wptexturize incorrectly converts the trailing single or double quote into
a single or double prime, respectively.
Related to #8775, but the scope of that ticket seems to be limited to
numbers inside of quotes, not a number preceded by other text (crudely
described as`\d+` vs `.*\d+`).
This is still an issue in trunk on .org and on wordpress.com (Example:
http://coreygilmore.wordpress.com/2014/08/18/expendables-3-illegally-
downloaded-5-million-times-but-still-isnt-top-hit-for-pirates/)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29256>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list