[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 22:41:45 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    |  
-------------------------+--------------------------------------------------
Comment (by josephscott):

 I tried the changes in leaner_make_url_clickable_cb.diff and it failed to
 pick up the closing paren for this test case:

 {{{
 My (http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software))
 article
 }}}

 That got converted to:

 {{{
 My (<a
 href="http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software))"
 rel="nofollow">http://en.wikipedia.org/wiki/PC_Tools_(Central_Point_Software))</a>
 article
 }}}

 That last ) should have been outside the </a> tag.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8300#comment:5>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list