Added new invalid_styles/valid_classes options to better control what gets returned for the style/class attribute.