File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
// See the License for the specific language governing permissions and
14
14
// limitations under the License.
15
15
16
+ using System . Globalization ;
16
17
using System . Text . RegularExpressions ;
17
18
18
19
namespace Gotenberg . Sharp . API . Client . Domain . Pages ;
@@ -92,12 +93,12 @@ private string GetPageRangeString()
92
93
}
93
94
else
94
95
{
95
- ranges . Add ( start == end ? start . ToString ( ) : $ "{ start } -{ end } ") ;
96
+ ranges . Add ( start == end ? start . ToString ( CultureInfo . InvariantCulture ) : $ "{ start } -{ end } ") ;
96
97
start = end = page ;
97
98
}
98
99
}
99
100
100
- ranges . Add ( start == end ? start . ToString ( ) : $ "{ start } -{ end } ") ;
101
+ ranges . Add ( start == end ? start . ToString ( CultureInfo . InvariantCulture ) : $ "{ start } -{ end } ") ;
101
102
return string . Join ( ", " , ranges ) ;
102
103
}
103
104
You can’t perform that action at this time.
0 commit comments