Gii Diff

Hi all,

While generating some CRUDs, I noticed there is a diff link on the preview page.

It really is amazing and I would like to implement it in my own site.

Is there an extension or something that can ease this process?

Thanks is advance

gii is creating and visualizing text diffs through Horde’s Text_Diff implementation (which is largely an enhanced version of PEAR::Text_Diff). Hope this helps.

Thanks, gonna have a look at it :)

I needed a diff solution recently but I wanted it to work with HTML.

I used this: https://code.google.com/p/daisydiff/source/browse/trunk/daisydiff-php/?r=113

Let me tell you that it doesn’t work very well with html (nor did any other ‘solution’ that I tried) and I ended up stripping all tags and inserting line breaks in the appropriate places after block elements.

It does the job, just loses the formatting.