Skip to content

Issue with comparing string having html #28

@ajmalsha

Description

@ajmalsha

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions