Skip to content

Commit 0e20ac6

Browse files
committed
Selector: Fix Sizzle.escape regular expression for iOS 5
Ref 7de7363
1 parent 6bc91da commit 0e20ac6

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/sizzle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ var i,
152152

153153
// CSS string/identifier serialization
154154
// https://drafts.csswg.org/cssom/#common-serializing-idioms
155-
rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,
155+
rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
156156
fcssescape = function( ch, asCodePoint ) {
157157
if ( asCodePoint ) {
158158

dist/sizzle.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/sizzle.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sizzle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ var i,
152152

153153
// CSS string/identifier serialization
154154
// https://drafts.csswg.org/cssom/#common-serializing-idioms
155-
rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,
155+
rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
156156
fcssescape = function( ch, asCodePoint ) {
157157
if ( asCodePoint ) {
158158

0 commit comments

Comments
 (0)