fix: head text nodes rendered into body (#2015)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user