Fixes an issue on our site where the classes are not created correctly which results in malformed html.