support newlines in diffs