Repository navigation
v1.4.1
Bug fixes:
- Semantic cleanup now detects blank lines at the start of the following text, matching upstream diff-match-patch.
- Semantic lossless cleanup no longer miscounts multibyte characters when shifting edits.
- PatchFromText returns an error on invalid %xx escapes instead of silently emptying the line.
- Minor: DiffMainRunes no longer writes to the caller's rune slice; fixed DiffFromDelta and intToRune error messages.
Diff output from semantic cleanup may differ slightly for text with blank lines or non-ASCII characters.