I'm sending the content of a custom post type in a plaintext email (it's to send competition entries to a panel of judges), so I need to make sure that
$post->post_content is correctly sanitised first.
Is there a filter I can use for this, or if not, what sanitisation do I need to do?
Update: I've just found
wp-includes/formatting.php, is this what I need?