strip styles down to core and remove any non-semantic markup from HAML