[wp-trac] [WordPress Trac] #8775: Numbers in quotation marks get wrong smart quotes

WordPress Trac noreply at wordpress.org
Sat Mar 8 17:50:43 UTC 2014


#8775: Numbers in quotation marks get wrong smart quotes
-------------------------------------------------+-------------------------
 Reporter:  filosofo                             |       Owner:
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
Component:  Formatting                           |  Release
 Severity:  normal                               |     Version:  2.8
 Keywords:  has-patch needs-testing needs-unit-  |  Resolution:
  tests wptexturize                              |     Focuses:
-------------------------------------------------+-------------------------

Comment (by miqrogroove):

 I recommend narrowing the focus of this patch so that it will not affect
 text other than numbers surrounded by quotes preceded by spaces.
 Examples:

 "2004"
 '27'
 The answer is "42".

 Numbers at the beginning or ending of quoted phrases have ambiguous
 meaning if we want to keep using the primes logic.

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


More information about the wp-trac mailing list