Adding newline when no newline in previous line.