File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
export const VOID_ELEMENTS = / ^ (?: 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 | l i n k | m e t a | p a r a m | s o u r c e | t r a c k | w b r ) $ / ;
2
2
export const UNSAFE_NAME = / [ \s \n \\ / = ' " \0 < > ] / ;
3
3
export const NAMESPACE_REPLACE_REGEX = / ^ ( x l i n k | x m l n s | x m l ) ( [ A - Z ] ) / ;
4
- export const HTML_LOWER_CASE = / ^ a c c e s s K | ^ a u t o [ A - Z ] | ^ c h | ^ c o l | c o n t | c r o s s | d a t e T | e n c T | f o r m [ A - Z ] | f r a m e | h r e f L | i n p u t M | m a x L | m i n L | n o V | p l a y s I | r e a d O | r o w S | s p e l l C | s r c [ A - Z ] | t a b I | i t e m [ A - Z ] / ;
4
+ export const HTML_LOWER_CASE = / ^ a c c e s s K | ^ a u t o [ A - Z ] | ^ c e l l | ^ c h | ^ c o l | c o n t | c r o s s | d a t e T | e n c T | f o r m [ A - Z ] | f r a m e | h r e f L | i n p u t M | m a x L | m i n L | n o V | p l a y s I | r e a d O | r o w S | s p e l l C | s r c [ A - Z ] | t a b I | u s e M | i t e m [ A - Z ] / ;
5
5
export const SVG_CAMEL_CASE = / ^ a c | ^ a l i | a r a b i c | b a s e l | c a p | c l i p P a t h $ | c l i p R u l e $ | c o l o r | d o m i n a n t | e n a b l e | f i l l | f l o o d | f o n t | g l y p h [ ^ R ] | h o r i z | i m a g e | l e t t e r | l i g h t i n g | m a r k e r [ ^ W U H ] | o v e r l i n e | p a n o s e | p o i n t e | p a i n t | r e n d e r i n g | s h a p e | s t o p | s t r i k e t h r o u g h | s t r o k e | t e x t [ ^ L ] | t r a n s f o r m | u n d e r l i n e | u n i c o d e | u n i t s | ^ v [ ^ i ] | ^ w | ^ x H / ;
6
6
7
7
// DOM properties that should NOT have "px" added when numeric
Original file line number Diff line number Diff line change @@ -297,8 +297,8 @@ export const htmlAttributes = {
297
297
autoFocus : 'autofocus' ,
298
298
autoPlay : 'autoplay' ,
299
299
capture : 'capture' ,
300
- cellPadding : 'cellPadding ' ,
301
- cellSpacing : 'cellSpacing ' ,
300
+ cellPadding : 'cellpadding ' ,
301
+ cellSpacing : 'cellspacing ' ,
302
302
charSet : 'charset' ,
303
303
challenge : 'challenge' ,
304
304
checked : 'checked' ,
@@ -412,7 +412,7 @@ export const htmlAttributes = {
412
412
target : 'target' ,
413
413
title : 'title' ,
414
414
type : 'type' ,
415
- useMap : 'useMap ' ,
415
+ useMap : 'usemap ' ,
416
416
value : 'value' ,
417
417
volume : 'volume' ,
418
418
width : 'width' ,
You can’t perform that action at this time.
0 commit comments