File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const Mime = {
2727 'application/xhtml+xml' : {
2828 docType : '<?xml version="1.0" encoding="utf-8"?>' ,
2929 ignoreCase : false ,
30- voidElements
30+ voidElements : / ^ (?: a r e a | b a s e | b r | c o l | e m b e d | h r | i m g | i n p u t | k e y g e n | l i n k | m e n u i t e m | m e t a | p a r a m | s o u r c e | t r a c k | w b r ) $ /
3131 }
3232} ;
3333exports . Mime = Mime ;
Original file line number Diff line number Diff line change @@ -26,6 +26,6 @@ export const Mime = {
2626 'application/xhtml+xml' : {
2727 docType : '<?xml version="1.0" encoding="utf-8"?>' ,
2828 ignoreCase : false ,
29- voidElements
29+ voidElements : / ^ (?: a r e a | b a s e | b r | c o l | e m b e d | h r | i m g | i n p u t | k e y g e n | l i n k | m e n u i t e m | m e t a | p a r a m | s o u r c e | t r a c k | w b r ) $ /
3030 }
3131} ;
Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ export const Mime: {
2828 'application/xhtml+xml' : {
2929 docType : string ;
3030 ignoreCase : boolean ;
31- voidElements : {
32- test : ( ) => boolean ;
33- } ;
31+ voidElements : RegExp ;
3432 } ;
3533} ;
Original file line number Diff line number Diff line change @@ -11992,7 +11992,7 @@ const Mime = {
1199211992 'application/xhtml+xml' : {
1199311993 docType : '<?xml version="1.0" encoding="utf-8"?>' ,
1199411994 ignoreCase : false ,
11995- voidElements
11995+ voidElements : / ^ (?: a r e a | b a s e | b r | c o l | e m b e d | h r | i m g | i n p u t | k e y g e n | l i n k | m e n u i t e m | m e t a | p a r a m | s o u r c e | t r a c k | w b r ) $ /
1199611996 }
1199711997} ;
1199811998
You can’t perform that action at this time.
0 commit comments