xhtml: collapse adjacent whitespace