Till Wehowski - 2013-12-23 17:19:18 - In reply to message 2 from Manuel Lemos
Yes, that is what I like to do.
The html method expects $before, $after and $diff as parameter.
I would like to patch back from just knowing. $after and $diff.
To do so, I believe (? ) I should store the added and deleted strings ind $diff, aswell as the positions of the equals in $after, am I right?
I found something on php.net http://www.php.net/manual/en/function.levenshtein.php from bisqwit at iki dot fi I used before in one project, I believed I could use your script to improve, that I do not have to save the before text and to not save the equals to patch the text back to the original version...?