Strip out HTML tags and substitute some "bad chars".