Skip to:

Opened 14 years ago

Closed 14 years ago

#2464 closed defect (bug) (fixed)

Wrong html-code in status with link

Reported by: motomac's profile motomac Owned by:
Milestone: 1.2.5 Priority: normal
Severity: Version:
Component: Activity Keywords: has-patch


If I post a link in my status, on my profile page I see wrong symbols: "

Please, look at this near my avatar:

Attachments (1)

2464.001.diff (4.8 KB) - added by cnorris23 14 years ago.

Download all attachments as: .zip

Change History (3)

#1 @cnorris23
14 years ago

  • Component changed from XProfile to Activity
  • Keywords has-patch added

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" fails, while this, "testing " 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.

14 years ago

#2 @johnjamesjacoby
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3076]) Fixes #2464 props cnorris23

Note: See TracTickets for help on using tickets.