react-diff-viewer icon indicating copy to clipboard operation
react-diff-viewer copied to clipboard

bug handling added/removed empty lines

Open marsiancba opened this issue 1 year ago • 1 comments
trafficstars

There seems to be some bug with handling of added/removed empty lines. E.g. if you compare two simple strings:

oldValue="a\nb"
newValue="a\n\nb"

It shows as no difference:

image

marsiancba avatar Dec 06 '23 09:12 marsiancba

how did u resolve this

princewck avatar Aug 27 '24 09:08 princewck