[wp-trac] [WordPress Trac] #29256: Strings ending with a number and quotation mark get wrong smart quotes

WordPress Trac noreply at wordpress.org
Wed Sep 24 17:06:38 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:  4.1
Component:  Formatting                       |     Version:  2.8
 Severity:  normal                           |  Resolution:
 Keywords:  wptexturize has-patch 4.1-early  |     Focuses:
---------------------------------------------+------------------

Comment (by miqrogroove):

 Refreshed patch and looked at remaining issues.  I think this patch will
 stand on its own because it solves a specific problem without being too
 complex.

 The remaining problems we still have with a phrase like {{{'99'}}} is that
 it could have three different meanings depending on its context.
 Examples:

 {{{Then he said, '99' of lumber'.}}}

 {{{Then he said, "we need '99' feet of lumber".}}}

 {{{Then he said, 'that was the class of '99'.}}}

 We could theoretically determine that context, but it would require a huge
 amount of new code that seems to be beyond the scope of this ticket.

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


More information about the wp-trac mailing list