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

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 24 19:16:50 UTC 2010


#12690: Square brackets breaking links that contain square brackets
--------------------------+-------------------------------------------------
 Reporter:  iandstewart   |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  General       |     Version:            
 Severity:  normal        |    Keywords:            
--------------------------+-------------------------------------------------
 In the editor, wrapping square brackets around an anchor with a URL that
 contains square brackets, like so

 {{{
 [photos by <a
 href="http://www.etsy.com/view_listing.php?listing_id=42936748&amp;ref=sr_gallery_7&amp;&amp;ga_search_query=keep+calm+and+carry+on&amp;ga_search_type=handmade&amp;ga_page=13&amp;includes[]=tags&amp;includes[]=title">KeepCalmPosters</a>
 ]
 }}}

 converts the last double prime in the href attribute to the character code
 for the right double quotation mark, like so

 {{{
 [photos by <a
 href="http://www.etsy.com/view_listing.php?listing_id=42936748&amp;ref=sr_gallery_7&amp;&amp;ga_search_query=keep+calm+and+carry+on&amp;ga_search_type=handmade&amp;ga_page=13&amp;includes[]=tags&amp;includes[]=title&#8221;>KeepCalmPosters</a>
 ]
 }}}

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


More information about the wp-trac mailing list