From ea77ac28f5a287772d001ede5cab4f411e3323c6 Mon Sep 17 00:00:00 2001 From: Sergii Naumov Date: Thu, 11 Aug 2016 18:25:59 +0200 Subject: [PATCH] Allow rendering forbidden tags on the server (#3425) --- src/compiler/parser/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/parser/index.js b/src/compiler/parser/index.js index 07aa4f61..2518b4d5 100644 --- a/src/compiler/parser/index.js +++ b/src/compiler/parser/index.js @@ -85,7 +85,7 @@ export function parse ( element.ns = ns } - if (isForbiddenTag(element)) { + if (process.env.VUE_ENV !== 'server' && isForbiddenTag(element)) { element.forbidden = true process.env.NODE_ENV !== 'production' && warn( 'Templates should only be responsbile for mapping the state to the ' +