Skip to content

matthijsgroen/html-diff-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

html-diff-js

Diff tool for html documents, disregarding markup

Dependencies

jQuery: converting text into plain text including HTML Entities

Diff Match Path: http://code.google.com/p/google-diff-match-patch/

Underscore.js: Utility functions

Usage

To produce a html diff marking insertions and deletions using the <ins> and <del> tags:

HtmlDiff.formatTextDiff(originalText, finalText)

see the code of this method to get the individual steps if you want the diff in array form.

License

This library is released under the MIT license

About

Diff tool for html documents. disregarding markup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages