Refactor strip_tags.