Remove extra whitespace from doctype.