splitjoin: keep alignments and normalize whitespaces