Remove extraneous newline trims.