Git Product home page Git Product logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
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 [email protected] on 27 Aug 2012 at 11:32

  • Added labels: ****
  • Removed labels: ****

from daisydiff.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
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 [email protected] on 31 Aug 2012 at 11:51

  • Added labels: ****
  • Removed labels: ****

from daisydiff.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
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 [email protected] on 31 Aug 2012 at 11:52

  • Added labels: ****
  • Removed labels: ****

from daisydiff.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024
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 [email protected] on 31 Aug 2012 at 2:03

  • Added labels: ****
  • Removed labels: ****

from daisydiff.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 23, 2024

Original comment by [email protected] on 31 Aug 2012 at 3:00

  • Changed state: Invalid
  • Added labels: ****
  • Removed labels: ****

from daisydiff.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.