To transform two revisions of an XHTML document into a single valid XHMTL
document with redlines, using the and tags.
- Diff::LCS
- REXML (Standard Library in 1.8)
- Delegate (Standard Library)
Add this line to your application's Gemfile:
gem 'xhtmldiff'
And then execute:
$ bundle
Or install it yourself as:
$ gem install xhtmldiff
That's it.
There is some simple CSS suggested in the examples directory. It's just a sample, but I think it makes decent browsers do the right thing.
Aria Stewart aredridel@nbtsc.org
Tweaks by Jacques Distler.