Closed GoogleCodeExporter closed 8 years ago
After further examination I've discovered that pre-1.2 versions of DaisyDiff
didn't make this mistake, though their output was less than ideal: the first P
tag of the above example would correctly remain untouched but the second P
would be present twice in the diff output, once for the removal of bar and once
for the addition of baz.
Original comment by gre...@gmail.com
on 27 Aug 2012 at 11:32
I've been doing a little debugging & guessing: it seems this bug only appears
if the element with the difference doesn't have any elements with text in front
of it; for example, with the input files being:
<div><span>a</span><p>foo</p><p>bar</p></div>
<div><span>a</span><p>foo</p><p>baz</p></div>
..the output is OK.
Original comment by gre...@gmail.com
on 31 Aug 2012 at 11:51
If I remove that a out, e.g.
<div><span></span><p>foo</p><p>baz</p></div>
..then the result is invalid again.
Original comment by gre...@gmail.com
on 31 Aug 2012 at 11:52
Finally figured out the cause of this issue: it is the 'fix' for issue 46 I
have applied on my own code. Please mark this as an invalid bug.
Sorry if I have wasted anybody's time.
Original comment by gre...@gmail.com
on 31 Aug 2012 at 2:03
Original comment by kkape...@gmail.com
on 31 Aug 2012 at 3:00
Original issue reported on code.google.com by
gre...@gmail.com
on 27 Aug 2012 at 10:50Attachments: