From f0045322c1971252e3e5c9ec76b439e9bb9e3a27 Mon Sep 17 00:00:00 2001 From: Tatsuyuki Ishi Date: Wed, 15 Aug 2018 22:00:54 +0900 Subject: [PATCH] Do not remove optional tags (#3725) Mainly, getting removed results in messing up snippet injection. --- lib/common/nuxt.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/nuxt.config.js b/lib/common/nuxt.config.js index 7da19fbf20..6545fba8f7 100644 --- a/lib/common/nuxt.config.js +++ b/lib/common/nuxt.config.js @@ -112,7 +112,7 @@ export default { removeAttributeQuotes: false, removeComments: false, removeEmptyAttributes: true, - removeOptionalTags: true, + removeOptionalTags: false, removeRedundantAttributes: true, removeScriptTypeAttributes: false, removeStyleLinkTypeAttributes: false,