Skip to content

Commit 13a14d5

Browse files
jingsamyyx990803
authored andcommitted
Update util.js (#5047)
1 parent 7de165c commit 13a14d5

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/platforms/web/compiler/util.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,13 @@ import { makeMap } from 'shared/util'
44

55
export const isUnaryTag = makeMap(
66
'area,base,br,col,embed,frame,hr,img,input,isindex,keygen,' +
7-
'link,meta,param,source,track,wbr',
8-
true
7+
'link,meta,param,source,track,wbr'
98
)
109

1110
// Elements that you can, intentionally, leave open
1211
// (and which close themselves)
1312
export const canBeLeftOpenTag = makeMap(
14-
'colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source',
15-
true
13+
'colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source'
1614
)
1715

1816
// HTML5 tags https://html.spec.whatwg.org/multipage/indices.html#elements-3
@@ -22,6 +20,5 @@ export const isNonPhrasingTag = makeMap(
2220
'details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,' +
2321
'h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,' +
2422
'optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,' +
25-
'title,tr,track',
26-
true
23+
'title,tr,track'
2724
)

0 commit comments

Comments
 (0)