ng-diff-match-patch
ng-diff-match-patch copied to clipboard
Issue with comparing string having html
Issue with comparing string having html and the issue is look like.
ERROR TypeError: diff[1].replace is not a function
at DiffDirective.webpackJsonp.../../../../ng-diff-match-patch/dist/diff.directive.js.DiffDirective.createHtml (diff.directive.js:33)
at DiffDirective.webpackJsonp.../../../../ng-diff-match-patch/dist/diff.directive.js.DiffDirective.updateHtml (diff.directive.js:26)
at DiffDirective.webpackJsonp.../../../../ng-diff-match-patch/dist/diff.directive.js.DiffDirective.ngOnChanges (diff.directive.js:23)
at checkAndUpdateDirectiveInline (core.es5.js:10853)
at checkAndUpdateNodeInline (core.es5.js:12357)
at checkAndUpdateNode (core.es5.js:12296)
at debugCheckAndUpdateNode (core.es5.js:13160)
at debugCheckDirectivesFn (core.es5.js:13101)