-
Notifications
You must be signed in to change notification settings - Fork 78
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
Fix: Rendering for multiple nested head
and body
nodes
#812
Conversation
head
and body
nodeshead
and body
nodes
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 1454486:
|
Codecov Report
@@ Coverage Diff @@
## master #812 +/- ##
=======================================
Coverage 97.53% 97.53%
=======================================
Files 127 127
Lines 7959 7962 +3
Branches 1835 1836 +1
=======================================
+ Hits 7763 7766 +3
Misses 196 196
Continue to review full report at Codecov.
|
* Fix types for insert after/before (#802) Change insertBefore/After to allow any template children rather than typing based on the targeted node. * Fix: Rendering for multiple nested `head` and `body` nodes (#812) * failing unit test for nested body and head tags * skip head or body node when finding insert before node * move JSX types to tsx namespace (#818) * fix unit test that was missed on master Co-authored-by: Bradley Maier <[email protected]>
Type: bug
The following has been addressed in the PR:
prettier
as per the readme code style guidelinesDescription:
Ensure that
head
andbody
nodes are not used as insert before candidates.Resolves #809