Directly modifying bp_activity_filter_kses() function in bp-activity-filters.php with the following code isn’t helping either: style tag is still getting stripped from the activity stream. Before the last Buddypress upgrade, the same code was working.