Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect diff for element containing multiple text nodes #138

Open
vilicvane opened this issue Jan 13, 2024 · 1 comment
Open

Incorrect diff for element containing multiple text nodes #138

vilicvane opened this issue Jan 13, 2024 · 1 comment

Comments

@vilicvane
Copy link

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.

@johanneswilm
Copy link
Member

Hey, yes, I need a minimum repro to be able to work on this. @vilicvane

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants