[buddypress-trac] [BuddyPress] #2464: Wrong html-code in status with link

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Jun 25 06:51:33 UTC 2010

#2464: Wrong html-code in status with link
 Reporter:  motomac   |       Owner:           
     Type:  defect    |      Status:  new      
 Priority:  normal    |   Milestone:  1.2.5    
Component:  Activity  |    Keywords:  has-patch
Changes (by cnorris23):

  * keywords:  => has-patch
  * component:  XProfile => Activity


 The brief version of this issue is that it has to do with the greedy
 nature of 'make_clickable'. If there's no space after the link, the
 make_clickable likes to include any other characters that form a valid
 link. This, "testing http://yahoo.com/" fails, while this, "testing
 http://yahoo.com/ " works. Since all of the filters applied to
 bp_get_activity_latest_update are really only needed for the actual
 activity excerpt, if move just the excerpt to it's own filter, for
 instance bp_get_activity_latest_update_pre, the issue is resolved.

Ticket URL: <http://trac.buddypress.org/ticket/2464#comment:1>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list