Strip text properties before testing for initial cleanliness