From 0354c1e0db8757ea565eb87ca51c228d851ff1be Mon Sep 17 00:00:00 2001 From: Wizard67 Date: Tue, 19 Jan 2021 14:57:26 +0800 Subject: [PATCH] fix: render document with standards mode --- src/node/plugin.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/node/plugin.ts b/src/node/plugin.ts index 3dcd70f8704a..d6f57a181b58 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -78,7 +78,8 @@ export function createVitePressPlugin( if (req.url!.endsWith('.html')) { res.statusCode = 200 res.end( - `
\n` + + `\n` + + `
\n` + `` ) return