Fix for newlines being ignored