[wp-trac] [WordPress Trac] #24556: wptexturize() edge case bug with specific sentence structure

WordPress Trac noreply at wordpress.org
Tue Jun 11 01:44:13 UTC 2013


#24556: wptexturize() edge case bug with specific sentence structure
--------------------------+------------------------------
 Reporter:  jkudish       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:1 jkudish]:
 > Hah, and it seems trac uses `wptexturize()` or a similar function too as
 it broke my example on here...

 I don't think Trac uses any kind of texturizing function, it looks like
 you've pasted an already formatted string here.

 Could not reproduce with regular quotes. This string:
 {{{
 Uppercase. "Uppercase lowercase word-with-apostrophe’s lowercase
 lowercase"
 }}}
 gives me this in both 3.5.1 and trunk:
 {{{
 Uppercase. “Uppercase lowercase word-with-apostrophe’s lowercase
 lowercase”
 }}}

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24556#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list