new lines are replaced with spaces