From ce2b17753fcb29c913570a97870847ee324dee1b Mon Sep 17 00:00:00 2001 From: xiaoyucoding Date: Wed, 13 Feb 2019 15:46:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20span=20=E5=B5=8C?= =?UTF-8?q?=E5=A5=97=20ins=20=E6=97=B6=E6=B8=B2=E6=9F=93=E7=BB=93=E6=9E=9C?= =?UTF-8?q?=E4=B8=8E=E9=A2=84=E6=9C=9F=E4=B8=8D=E7=AC=A6=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/helpers/html-parser.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/helpers/html-parser.js b/src/core/helpers/html-parser.js index 1c53bc3a0..fb0c57984 100644 --- a/src/core/helpers/html-parser.js +++ b/src/core/helpers/html-parser.js @@ -92,8 +92,9 @@ var empty = makeMap( 'area,base,basefont,br,col,frame,hr,img,input,link,meta,param,embed,command,keygen,source,track,wbr') // Block Elements - HTML 5 +// fixed by xxx 将 ins 标签从块级名单中移除 var block = makeMap( - 'a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,ins,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video' + 'a,address,article,applet,aside,audio,blockquote,button,canvas,center,dd,del,dir,div,dl,dt,fieldset,figcaption,figure,footer,form,frameset,h1,h2,h3,h4,h5,h6,header,hgroup,hr,iframe,isindex,li,map,menu,noframes,noscript,object,ol,output,p,pre,section,script,table,tbody,td,tfoot,th,thead,tr,ul,video' ) // Inline Elements - HTML 5 -- GitLab