| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Is there any potential this PR could get a review? |
Sorry, something went wrong.
…tps://github.com/LaurentAerens/diff-match-patch into fix/c-sharp-leading-and-trailing-spaces-and-tabs
| Back | FazBrowse Home | New Git URL |
diff_prettyHtml currently doesn't highlight leading/trailing space differences. Because spaces in HTML aren't visible.
This pull request changes that.
Instead of
diff_prettyHtml now returns
resulting in differences with leading/training spaces being visible in HTML.
Example:
When we compare "Test" and "Test " (notice the second string doesn't equal the first string since it has a trailing space).
Previously looked like this:
Now with this pull requests it looks like this:
Note: this issue also seems to be present in the JavaScript implementation: google#144