@@ -8,6 +8,12 @@ const dataArray = [
88 [ 3 , 'Larry' , 'the Bird' , '@twitter' ] ,
99] ;
1010
11+ const dataArrayWithDoubleQuotes = [
12+ [ 1 , 'Mark' , 'Ot"to' , '@mdo' ] ,
13+ [ 2 , 'Jacob' , 'Thornton' , '@fat' ] ,
14+ [ 3 , 'Larry' , 'the Bird' , '@twitter' ] ,
15+ ] ;
16+
1117const dataArrayWithNullAndUndefined = [
1218 [ 1 , 'Mark' , null , '@mdo' ] ,
1319 [ 2 , 'Jacob' , 'Thornton' , undefined ] ,
@@ -41,6 +47,27 @@ const data = [
4147 } ,
4248] ;
4349
50+ const dataObjectWithDoubleQuotes = [
51+ {
52+ number : 1 ,
53+ first : 'Mark' ,
54+ last : 'Ot"to' ,
55+ handle : '@mdo' ,
56+ } ,
57+ {
58+ number : 2 ,
59+ first : 'Jacob' ,
60+ last : 'Thornton' ,
61+ handle : '@fat' ,
62+ } ,
63+ {
64+ number : 3 ,
65+ first : 'Larry' ,
66+ last : 'the Bird' ,
67+ handle : '@twitter' ,
68+ } ,
69+ ] ;
70+
4471const dataWithNullAndUndefined = [
4572 {
4673 number : 1 ,
@@ -67,6 +94,10 @@ export const dataArrayWithHeader = [
6794 ...dataArray ,
6895] ;
6996
97+ export const dataArrayWithDoubleQuotesInsideElement = [
98+ ...dataArrayWithDoubleQuotes ,
99+ ] ;
100+
70101export const dataArrayWithoutHeader = [
71102 ...dataArray ,
72103] ;
@@ -75,6 +106,10 @@ export const dataObject = [
75106 ...data ,
76107] ;
77108
109+ export const dataObjectWithDoubleQuotesInsideElement = [
110+ ...dataObjectWithDoubleQuotes ,
111+ ] ;
112+
78113export const dataObjectWithNullAndUndefined = [
79114 ...dataWithNullAndUndefined ,
80115] ;
0 commit comments