Remove unnecessary end tag attribute