Strip content before putting it in the db.
Snippet tests