[wp-trac] [WordPress Trac] #26850: Single quotes show up as apostrophes when appearing before numbers

WordPress Trac noreply at wordpress.org
Mon Jan 27 20:05:40 UTC 2014


#26850: Single quotes show up as apostrophes when appearing before numbers
-------------------------------------------------+-------------------------
 Reporter:  yurivictor                           |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Formatting                           |  Release
 Severity:  minor                                |     Version:  trunk
 Keywords:  wptexturize needs-unit-tests has-    |  Resolution:
  patch                                          |     Focuses:
-------------------------------------------------+-------------------------
Changes (by yurivictor):

 * keywords:  needs-patch wptexturize needs-unit-tests => wptexturize needs-
     unit-tests has-patch


Comment:

 Latest patch [attachment:26850.2.diff​] fixes apostrophes for all numbers
 0-9 and greater than 99.

 So '9 and '999 will both show up correctly, while '99 will still convert
 to year.

 Uses space or end of line to stop after two digits.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26850#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list