[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 03:43:00 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  |
-------------------------------+------------------------------
Changes (by greuben):

 * keywords:  needs-patch => needs-patch close


Comment:

 You are running the filter after {{{ add_filter( 'the_content',
 'wptexturize' ); }}} which converts the end {{{'}}} to {{{’}}}. That
 is why make_clickable includes the '(&#8217).  Set the priority of the
 filter to less than 10, you won't have that problem.

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


More information about the wp-trac mailing list