fix: head text nodes rendered into body (#2015)

This commit is contained in:
Marvin Hagemeister
2023-11-06 11:45:33 +01:00
committed by GitHub
parent e0f503ee37
commit 33cc4c7866
4 changed files with 39 additions and 8 deletions
@@ -0,0 +1,19 @@
import { RouteConfig } from "$fresh/src/server/types.ts";
export const config: RouteConfig = {
skipAppWrapper: true,
skipInheritedLayouts: true,
};
export default function App() {
return (
<html>
<head>
<style>{`body { color: red }`}</style>
</head>
<body>
hello
</body>
</html>
);
}