normalize: whitespace=preserve|collapse