I fixed bug for Chinese content.
|Failed to load latest commit information.|
|lib||Fix word position bug, and Test added.|
|spec||Fix word position bug, and Test added.|
|README||Now a gem and has specs|
|Rakefile||Now a gem and has specs|
|TODO||Now a gem and has specs|
|htmldiff.gemspec||Now a gem and has specs|
class Stuff class << self include HTMLDiff end # or extend HTMLDiff ? end Stuff.diff('a word is here', 'a nother word is there') # => 'a<ins class=\"diffins\"> nother</ins> word is <del class=\"diffmod\">here</del><ins class=\"diffmod\">there</ins>' Checkout the crappy specs for good examples.