[wp-trac] Re: [WordPress Trac] #8300: Add parentheses to the list
of valid URL characters for make_clickable function
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 21 00:15:00 GMT 2008
#8300: Add parentheses to the list of valid URL characters for make_clickable
function
-------------------------+--------------------------------------------------
Reporter: josephscott | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.7
Severity: normal | Resolution:
Keywords: has-patch |
-------------------------+--------------------------------------------------
Changes (by DD32):
* version: => 2.7
Comment:
You need to be careful about including parentheses in function to make
links, As (http://blah.com/) should not be matched as a link, only the
insides, yet http://blah.com/something(else)_another should..
There are some link parsing regular expressions around which deal with
those cases specifically, somethin more robust might be required.
--
Ticket URL: <http://trac.wordpress.org/ticket/8300#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list