java - escaping HTML tags during finding the differences between two texts -
i use diff match patch find differences between 2 texts. function show deleted text red background , inserted text green background need.
now use function find differences between 2 texts html tags. in case, function delivers strange result, example when bold text tag. can tested here.
how escape html tags sothat function ignore them finding differences?
Comments
Post a Comment