diff --git a/jspdf.js b/jspdf.js
index <HASH>..<HASH> 100644
--- a/jspdf.js
+++ b/jspdf.js
@@ -1303,7 +1303,7 @@ var jsPDF = (function (global) {
                         }
                         prevX = x;
                         text = da[0] + ") Tj\n";
-                        for (i = 1, len = da.length; i < len; i++) {
+                        for (var i = 1, len = da.length; i < len; i++) {
                             var delta = maxLineLength - lineWidths[i];
                             if (align === "center") delta /= 2;
                             // T* = x-offset leading Td ( text )
Missing 'var' keyword in for loop