Opened 14 years ago
Closed 14 years ago
#2464 closed defect (bug) (fixed)
Wrong html-code in status with link
Reported by: | motomac | Owned by: | |
---|---|---|---|
Milestone: | 1.2.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Activity | Keywords: | has-patch |
Cc: |
Description
If I post a link in my status, on my profile page I see wrong symbols: "
Please, look at this near my avatar: http://testbp.org/members/motomac/
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
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.