@since: BuddyPress 3.0.1
Description
bp_nouveau_messages_catch_hook_content()

Fires Messages Legacy hooks to catch the content and add them as extra keys to the JSON Messages UI reply.

Source: bp-templates/bp-nouveau/includes/messages/functions.php:495

bp_strip_script_and_style_tags()

Remove script and style tags from a string.

Source: bp-core/bp-core-functions.php:4334