web
web copied to clipboard
fix(parse5-utils): add support for templates in `findNode`
What I did
- Add a shared helper function for
findNodeandfindNodesto find child nodes within<template>elements - Enable
findNodeto find children within a<template>element - Add a test for
findNode
This expands on #2398 which added this functionality to findNodes.
🦋 Changeset detected
Latest commit: 87afd9af92d53a45bee74c28f4bf4c93383bbce3
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @web/parse5-utils | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Always happy to contribute, thanks for taking the time to review this! 😄