Remove whitespace in document.