[wp-trac] Re: [WordPress Trac] #5081: make_clickable shouldn't include trailing punctuation

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 26 07:44:03 GMT 2007


#5081: make_clickable shouldn't include trailing punctuation
---------------------+------------------------------------------------------
 Reporter:  matt     |        Owner:  anonymous
     Type:  defect   |       Status:  new      
 Priority:  normal   |    Milestone:  2.4      
Component:  General  |      Version:  2.3      
 Severity:  minor    |   Resolution:           
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by JeremyVisser):

 Well, "{{{www.wordpress.org.}}}" is not a URL. If it were a real URL, like
 the following, it would be have a trailing slash:
 {{{http://www.wordpress.org./}}}

 But, I guess, if for some reason the URL required a full stop at the end
 of it, you'd get problems. You could simply override
 {{{make_clickable()}}} by using a manual {{{<a
 href="http://example.com/wacko.">http://example.com/wacko.</a>}}}. Having
 a full stop at the end of the URL seems like a ''really'' niche case.

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


More information about the wp-trac mailing list