Strip end of lines after aligning.