Skip to content

Incorrect diff for element containing multiple text nodes #138

@vilicvane

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions