Skip to content

Incorrect use of "replace all" #372

@jakearchibald

Description

@jakearchibald

This use of replace all is incorrect.

"replace all" replaces all children of an element. Here it's replacing all children of an element with the children of the element, resulting in no change.

Instead, it should be following steps similar to replaceWith.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions