ng-diff-match-patch icon indicating copy to clipboard operation
ng-diff-match-patch copied to clipboard

Issue with comparing string having html

Open ajmalsha opened this issue 6 years ago • 0 comments

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)

ajmalsha avatar Apr 20 '18 14:04 ajmalsha