Adds configuration option for css classes
Adds spec for html safety