]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
fix(compiler): add `hgroup` to supported `HTML_TAGS` (#6321)
authorTamay Eser Uysal <tamayeseruysal@gmail.com>
Mon, 14 Nov 2022 01:28:56 +0000 (05:28 +0400)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2022 01:28:56 +0000 (20:28 -0500)
close #6313

packages/shared/src/domTagConfig.ts

index 1f8605d9fc4a0855ad0a118151f4a934c5a8cc91..916676dfbd62b431ee9117097ea2e0d7d6dec8dd 100644 (file)
@@ -5,7 +5,7 @@ import { makeMap } from './makeMap'
 // https://developer.mozilla.org/en-US/docs/Web/HTML/Element
 const HTML_TAGS =
   'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +
-  'header,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +
+  'header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,' +
   'figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,' +
   'data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,' +
   'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +