Answer the question
In order to leave comments, you need to log in
Comparing html content (google-diff-match-patch alternative)?
To compare content and display differences between two texts, I use the google-diff-match-patch library . The problem is that the script does not work with html markup, but only understands text/plain. Does anyone know alternative javascripts that allow you to compare two texts with html markup?
Answer the question
In order to leave comments, you need to log in
The author of google-diff-match-patch suggests the following solutions to this problem
asked a similar question
a couple of months ago :
github.com/cemerick/jsdifflib
en.wikipedia.org/wiki/User :Cacycle/diff
www.raymondhill.net/finediff/viewdiff-ex.php
github.com/tnwinc/htmldiff.js Used the ruby version on which it is based. Everything seemed to work as it should.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question