[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&ref=sr_gallery_7&&ga_search_query=keep+calm+and+carry+on&ga_search_type=handmade&ga_page=13&includes[]=tags&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&ref=sr_gallery_7&&ga_search_query=keep+calm+and+carry+on&ga_search_type=handmade&ga_page=13&includes[]=tags&includes[]=title”>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