# heavily based off difflib.py - see that file for documentation # ported from Python by Bill Atkins # This does not support all features offered by difflib; it # implements only the subset of features necessary # to support a Ruby version of HTML Differ. You're welcome to finish this off. # By default, String#each iterates by line. This isn't really appropriate # for diff, so often a string will be split by // to get an array of one- # character strings. # Some methods in Diff are untested and are not guaranteed to work. The # methods in HTMLDiff and any methods it calls should work quite well. # changes by DenisMertz # * main change: # ** get the tag soup away # the tag soup problem was first reported with

tags, but it appeared also with #

  • ,