Rich text editor erases HTML tags from post

Would it be viable to at least detect these situations and disable the RTE?