mirror of
https://github.com/niklasvh/html2canvas.git
synced 2023-08-10 21:13:10 +03:00
Merge branch 'patch-1' of github.com:bensho/html2canvas into bensho-patch-1
This commit is contained in:
@@ -77,6 +77,9 @@ _html2canvas.Parse = function (images, options, cb) {
|
||||
for (i = 0, j = classes.length; i < j; i++) {
|
||||
classes[i] = classes[i].match(/(^[^:]*)/)[1];
|
||||
}
|
||||
|
||||
// remove empty values, if not could cause invalid selectors with querySelectorAll
|
||||
classes = classes.filter(function (n) { return n });
|
||||
}
|
||||
|
||||
// Using the list of elements we know how pseudo el styles, create fake pseudo elements.
|
||||
@@ -1270,4 +1273,4 @@ _html2canvas.Parse = function (images, options, cb) {
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user