Issue #2336355 by alexpott, Cottser: Fixed Refactor Attribute rendering so that class= is not printed.