[wp-trac] [WordPress Trac] #17097: make_clickable() regex should exclude close-quotation marks after URLs

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 11 12:09:49 UTC 2011


#17097: make_clickable() regex should exclude close-quotation marks after URLs
-------------------------------+------------------------------
 Reporter:  boonebgorges       |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.1
 Severity:  minor              |  Resolution:
 Keywords:  needs-patch close  |
-------------------------------+------------------------------

Comment (by boonebgorges):

 Good call, greuben - that worked.

 But now, a related issue: should make_clickable() be smart enough not to
 break up the HTML code for one of these special characters? Aside from a
 whitelist? This is definitely an edge case, but something to consider.

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


More information about the wp-trac mailing list