From 8a0db65a8a8939e4505b004b884e9395e25e983b Mon Sep 17 00:00:00 2001 From: NAN Date: Tue, 9 Feb 2021 20:51:20 +0800 Subject: [PATCH] fix: render document with standards mode in dev (#207) --- 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 8cd1eb4b6eae..5ab7f45976a6 100644 --- a/src/node/plugin.ts +++ b/src/node/plugin.ts @@ -79,7 +79,8 @@ export function createVitePressPlugin( if (req.url!.endsWith('.html')) { res.statusCode = 200 res.end( - `
\n` + + `\n` + + `
\n` + `` ) return