Fixes error class in HTML formatter.