Fix element attributes, except for multi-line.