2
Vote

Problems comparing unordered lists

description

We found an issue with the HTML Diff algorithm which may extend to tags beyond those that we've encountered a problem with. Essentially, if a change is at the beginning of a list item in an unordered list (and if that item is the first in the list), the diff view shows the changes nested within their own list and bullet, rather than showing the change inline with the changed bullet. For example:
 
Item A:
<UL> <LI>Testing this example.</LI> </UL>  
Item B:
<UL> <LI>Test this example.</LI> </UL>  
Expected Diff:
<UL> <LI> Test<DEL>ing</DEL> this example. </LI> </UL>  
Actual Diff:
<UL> <LI> <DEL>Testing</DEL> <UL> <LI> <INS>Test</INS> this example. </LI> </UL> </LI> </UL>  
Is there any planned maintenance or future work being done on this project?

comments

oscamp08 wrote Jan 13 at 2:26 PM

I have a similar issue using <td></td> for tables