Closed davidfan168 closed 3 months ago
Sorry for the delay, I don't always get the important Github notifications.
:tada: This PR is included in version 4.0.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
@davidfan168 @Aeolun
This change is actually wrong and causes a bug where the diff lines are sometimes hidden for some reason. I found that turning on dissabledWordDiff unhides them.
Instead, these are the lines you're supposed to change to change how the diff lines are handled:
Most changes are copied from this pull request: https://github.com/praneshr/react-diff-viewer/pull/137/files
If a function is passed as
lineCompareMethod
, this function will be treated as the diff function. Users can pass other functions in the diff library, or pass their own functions.