Skip to content

Commit f3f6261

Browse files
committed
Fixed getTextDimension() for Firefox - closes #235
1 parent 3e55942 commit f3f6261

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jspdf.plugin.cell.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
text.style.fontStyle = fontStyle;
6868
text.style.fontName = fontName;
6969
text.style.fontSize = fontSize + 'pt';
70-
text.innerText = txt;
70+
text.textContent = txt;
7171

7272
document.body.appendChild(text);
7373

0 commit comments

Comments
 (0)