[wp-trac] [WordPress Trac] #12690: Square brackets breaking links that contain square brackets

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 6 16:08:59 UTC 2010


#12690: Square brackets breaking links that contain square brackets
--------------------------+-------------------------------------------------
 Reporter:  iandstewart   |       Owner:  bumbu    
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  3.0      
Component:  General       |     Version:           
 Severity:  normal        |    Keywords:  texturize
--------------------------+-------------------------------------------------
Changes (by bumbu):

 * cc: bmbalex@… (added)
  * keywords:  => texturize
  * status:  new => reviewing
  * owner:  => bumbu


Comment:

 problem was in dividing link into smaller parts by preg_split, and
 function was transforming single quotes into html format

 with these patch function 'wptexturize' don't take in account sqare empty
 parentheses, and link with empty parantheses will not be divided into
 smaller parts => no unwanted quotes transformation

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


More information about the wp-trac mailing list