[x] yes (bugfixes and features will not be merged without tests)
[ ] no
Breaking Changes?
[ ] yes (breaking changes will not be merged unless absolutely necessary)
[x] no
If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
This PR fixes an issue reported on Discord where the <Tailwind> component was clobbering <Head> component contents. This was due to how rehype enforces proper HTML structure. Because we were wrapping <head> elements with <div> to be able to output raw HTML, rehype was wagging its finger because that's not valid HTML. This changes the wrapping element to <head> and should resolve the issues.
Component / Package Name:
This PR contains:
Are tests included?
Breaking Changes?
If yes, please include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
This PR fixes an issue reported on Discord where the
<Tailwind>
component was clobbering<Head>
component contents. This was due to howrehype
enforces proper HTML structure. Because we were wrapping<head>
elements with<div>
to be able to output raw HTML, rehype was wagging its finger because that's not valid HTML. This changes the wrapping element to<head>
and should resolve the issues.