We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7de165c commit 13a14d5Copy full SHA for 13a14d5
src/platforms/web/compiler/util.js
@@ -4,15 +4,13 @@ import { makeMap } from 'shared/util'
4
5
export const isUnaryTag = makeMap(
6
'area,base,br,col,embed,frame,hr,img,input,isindex,keygen,' +
7
- 'link,meta,param,source,track,wbr',
8
- true
+ 'link,meta,param,source,track,wbr'
9
)
10
11
// Elements that you can, intentionally, leave open
12
// (and which close themselves)
13
export const canBeLeftOpenTag = makeMap(
14
- 'colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source',
15
+ 'colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source'
16
17
18
// HTML5 tags https://html.spec.whatwg.org/multipage/indices.html#elements-3
@@ -22,6 +20,5 @@ export const isNonPhrasingTag = makeMap(
22
20
'details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,' +
23
21
'h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,' +
24
'optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,' +
25
- 'title,tr,track',
26
+ 'title,tr,track'
27
0 commit comments