Combine two HTML class attributes into one

Chrome, for example, only respects the first attribute in the source
when there are multiple conflicting attributes.