-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Diff for revision is sometimes broken #565
Comments
I have taken a look at some pages with (seemingly) wrong diffs once again. From as far as I can tell, the diffs are not wrong, but unnecessarily complex. This might be caused by the missing line breaks, so the diff algorithm might detect replacements that did not actually happen. Steps to reproduce:
The diff generated by Wagtail looks like this I would expect a diff like the following one (generated with VS Code), showing way less changes |
When looking at the diff between two revisions, it is sometimes hard to see something because the markdown source is rendered without line breaks. Also sometimes this seems to display erroneous results (@lukasrad02 has more context)
The text was updated successfully, but these errors were encountered: