Support for custom html writer class with the ability to control what style attributes can be written