[wp-trac] Re: [WordPress Trac] #7056: wptexturize should leave contents of pre tags verbatim

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 20 15:50:19 GMT 2009


#7056: wptexturize should leave contents of pre tags verbatim
-----------------------------------+----------------------------------------
 Reporter:  nbachiyski             |        Owner:  anonymous
     Type:  defect (bug)           |       Status:  reopened 
 Priority:  normal                 |    Milestone:  2.8      
Component:  General                |      Version:  2.8      
 Severity:  normal                 |   Resolution:           
 Keywords:  has-patch wptexturize  |  
-----------------------------------+----------------------------------------
Changes (by nbachiyski):

  * status:  closed => reopened
  * version:  2.6 => 2.8
  * resolution:  fixed =>
  * milestone:  2.6 => 2.8


Comment:

 We should do the same with {{{code}}} tags, too. They often contain other
 tags, as links and in that case {{{wptexturize()}}} breaks the quotes and
 dashes.

 The test from the ticket description was updated to reflect the changes.
 The patch passes the tests.

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


More information about the wp-trac mailing list