Remove xhtml closing slash to hr and br tags Fix mixed ordered closing tags Remove extraneous closing tags