Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Treat nodeType 7 like comments #121

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

SantosGuillamot
Copy link
Contributor

@SantosGuillamot SantosGuillamot commented Dec 16, 2022

As explained in #117 , there are some sites using xpacket inside SVG nodes, which returns a hydration error. As David suggests here, and following MDN docs, I am filling this PR to treat them like comments and removing them.

I am planning to add tests for this and other use cases in other PR.

Copy link
Member

@luisherranz luisherranz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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

Successfully merging this pull request may close these issues.

None yet

2 participants