You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the library with compare: 'words', only spaces are used as the delimiter.
In reality new lines should also be considered a delimiter (and probably also tabs and a few more chars).
As of right now you will get quite weird diffs, if the word affected is at the start or end of a line, since the word in the next/previous line is considered to be part of the diff.
Otherwise: quite a nice little library 👍
The text was updated successfully, but these errors were encountered:
Hey there!
When using the library with
compare: 'words'
, only spaces are used as the delimiter.In reality new lines should also be considered a delimiter (and probably also tabs and a few more chars).
As of right now you will get quite weird diffs, if the word affected is at the start or end of a line, since the word in the next/previous line is considered to be part of the diff.
Otherwise: quite a nice little library 👍
The text was updated successfully, but these errors were encountered: