Why are the newlines being munged around?