We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67310a9 commit dfb5c85Copy full SHA for dfb5c85
jspdf.js
@@ -1211,7 +1211,7 @@ var jsPDF = (function(global) {
1211
1212
if (typeof text === 'string') {
1213
text = ESC(text);
1214
- } else if (text instanceof Array) {
+ } else if (Object.prototype.toString.call(text) === '[object Array]') {
1215
// we don't want to destroy original text array, so cloning it
1216
var sa = text.concat(), da = [], len = sa.length;
1217
// we do array.join('text that must not be PDFescaped")
0 commit comments