Skip to content

Incorrect diff for element containing multiple text nodes #138

Description

@vilicvane

In my case, I have <div>{text_1}{text_2}</div> as jsdom element, only {text_2} is updated and the diffs include {text_2} as the whole text value while {text_1} is completely ignored (path doesn't seem to cover text node index?).

Probably obvious enough for the author, please let me know if you want a minimum repro.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions