File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const Pagination = React.createClass({
16
16
*/
17
17
boundaryLinks : React . PropTypes . bool ,
18
18
/**
19
- * When `true`, will display the default node value ('... ').
19
+ * When `true`, will display the default node value ('… ').
20
20
* Otherwise, will display provided node (when specified).
21
21
*/
22
22
ellipsis : React . PropTypes . oneOfType ( [
@@ -130,7 +130,7 @@ const Pagination = React.createClass({
130
130
disabled
131
131
buttonComponentClass = { buttonComponentClass } >
132
132
< span aria-label = "More" >
133
- { this . props . ellipsis === true ? '... ' : this . props . ellipsis }
133
+ { this . props . ellipsis === true ? '\u2026 ' : this . props . ellipsis }
134
134
</ span >
135
135
</ PaginationButton >
136
136
) ;
@@ -154,7 +154,7 @@ const Pagination = React.createClass({
154
154
disabled
155
155
buttonComponentClass = { buttonComponentClass } >
156
156
< span aria-label = "More" >
157
- { this . props . ellipsis === true ? '... ' : this . props . ellipsis }
157
+ { this . props . ellipsis === true ? '\u2026 ' : this . props . ellipsis }
158
158
</ span >
159
159
</ PaginationButton >
160
160
) ;
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ describe('Pagination', () => {
71
71
72
72
assert . equal ( pageButtons [ 0 ] . innerText , '«' ) ;
73
73
assert . equal ( pageButtons [ 1 ] . innerText , '‹' ) ;
74
- assert . equal ( pageButtons [ 5 ] . innerText , '... ' ) ;
74
+ assert . equal ( pageButtons [ 5 ] . innerText , '… ' ) ;
75
75
assert . equal ( pageButtons [ 6 ] . innerText , '›' ) ;
76
76
assert . equal ( pageButtons [ 7 ] . innerText , '»' ) ;
77
77
@@ -93,8 +93,8 @@ describe('Pagination', () => {
93
93
let pageButtons = ReactTestUtils . scryRenderedDOMComponentsWithTag ( instance , 'li' ) ;
94
94
// add first, last, prev, next and ellipsis button
95
95
assert . equal ( pageButtons [ 2 ] . innerText , '1' ) ;
96
- assert . equal ( pageButtons [ 3 ] . innerText , '... ' ) ;
97
- assert . equal ( pageButtons [ 7 ] . innerText , '... ' ) ;
96
+ assert . equal ( pageButtons [ 3 ] . innerText , '… ' ) ;
97
+ assert . equal ( pageButtons [ 7 ] . innerText , '… ' ) ;
98
98
assert . equal ( pageButtons [ 8 ] . innerText , '20' ) ;
99
99
} ) ;
100
100
You can’t perform that action at this time.
0 commit comments