praneshr / react-diff-viewer

A simple and beautiful text diff viewer component made with Diff and React.
https://praneshravi.in/react-diff-viewer/
MIT License
1.44k stars 273 forks source link

Why is the trailing newline character ignored when comparing files? #201

Open luckyxutao opened 3 weeks ago

luckyxutao commented 3 weeks ago

image

How can I not ignore the trailing newline character?

Thanks very much