Skip to content

Commit

Permalink
fix(transformer): 某些自定义组件无法包含 children,close #1551, close #1540
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche authored and luckyadam committed Dec 17, 2018
1 parent 49b2753 commit 10a27fc
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions packages/taro-transformer-wx/src/create-html-element.ts
Original file line number Diff line number Diff line change
@@ -1,27 +1,7 @@
const voidHtmlTags = new Set<string>([
'area',
'base',
'basefont',
'bgsound',
'br',
'col',
'command',
'embed',
'frame',
'hr',
'image',
'img',
'input',
'isindex',
'keygen',
// 'link',
'menuitem',
'meta',
'nextid',
'param',
'source',
'track',
'wbr',
'import'
])

Expand Down

0 comments on commit 10a27fc

Please sign in to comment.