Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
A diff library that uses html tags to show differences
|Failed to load latest commit information.|
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.