chore(shared): remove deprecated html tags (#4130)

This commit is contained in:
webfansplz 2021-07-19 23:30:43 +08:00 committed by GitHub
parent bbf6ca9bca
commit d868d5ffa7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,9 +5,9 @@ import { makeMap } from './makeMap'
// https://developer.mozilla.org/en-US/docs/Web/HTML/Element // https://developer.mozilla.org/en-US/docs/Web/HTML/Element
const HTML_TAGS = const HTML_TAGS =
'html,body,base,head,link,meta,style,title,address,article,aside,footer,' + 'html,body,base,head,link,meta,style,title,address,article,aside,footer,' +
'header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,' + 'header,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,' + '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,rtc,ruby,s,samp,small,span,strong,sub,sup,' + '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,' + 'time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,' +
'canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,' + 'canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,' +
'th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,' + 'th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,' +