Adjusts for missing new lines.