remove superfluous DOM and CSS classes
just trailing whitespaces