Skip to content

tannerj/htmldiff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTMLDiff

Displays diffs of html input strings

Example

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 word is <del class="diffmod">here<ins class="diffmod">there'

Checkout the crappy specs for good examples.

About

A diff library that uses html tags to show differences

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%