Reset whitespace on element and comment end