From a9592a59f7329aa0315022ee4d5c283035c3cd30 Mon Sep 17 00:00:00 2001 From: yuche Date: Mon, 17 Dec 2018 16:46:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(transformer):=20=E6=9F=90=E4=BA=9B=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E7=BB=84=E4=BB=B6=E6=97=A0=E6=B3=95=E5=8C=85?= =?UTF-8?q?=E5=90=AB=20children=EF=BC=8Cclose=20#1551,=20close=20#1540?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/create-html-element.ts | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/packages/taro-transformer-wx/src/create-html-element.ts b/packages/taro-transformer-wx/src/create-html-element.ts index f697956abb81..662e7b3a67ee 100644 --- a/packages/taro-transformer-wx/src/create-html-element.ts +++ b/packages/taro-transformer-wx/src/create-html-element.ts @@ -1,27 +1,7 @@ const voidHtmlTags = new Set([ - 'area', - 'base', - 'basefont', - 'bgsound', - 'br', - 'col', - 'command', - 'embed', - 'frame', - 'hr', 'image', 'img', 'input', - 'isindex', - 'keygen', - // 'link', - 'menuitem', - 'meta', - 'nextid', - 'param', - 'source', - 'track', - 'wbr', 'import' ])