[wp-trac] [WordPress Trac] #26852: Bug in wptexturize() with quotes and numbers

WordPress Trac noreply at wordpress.org
Thu Jan 16 21:53:50 UTC 2014


#26852: Bug in wptexturize() with quotes and numbers
--------------------------+-----------------------------
 Reporter:  kovshenin     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Formatting    |    Version:  1.5
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 To reproduce, run `wptexturize()` on `"Apollo-13"`.

 Expected: `“Apollo 13”` but got `“Apollo 13″`.
 Ouch.

 It looks like the double prime rule is preceding the closing quote rule.
 The same goes for single quote and prime.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26852>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list