Closed (works as designed)
Project:
Diff
Version:
6.x-2.3
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Nov 2012 at 18:12 UTC
Updated:
12 Oct 2013 at 07:07 UTC
Currently the word by word diff seems not to be computed on lines, in which the first word has been changed, even if it's the same line in the text. Thus even if only the first word has been changed in a paragraph, the whole paragraph is displayed as changed. It would be great if in such a case the algorithm checked, whether the previous and next paragraphs match, and if so, compute word by word diff for the paragraph between them.
Comments
Comment #1
alan d. commentedThe DiffEngine is now in core (Drupal 8.x) so I am not going to alter this unless either this is done in D8 first or D8 changes to another comparison tool.