Skip to content

Conversation

vlvagerviwager
Copy link
Contributor

Currently, if txt is passed in as a String, and the alignment option "right" is passed into jsPDF.cell, the cell in the PDF becomes blank with no text.

This is because an Array of text is expected in the right align block. This change simply inserts the text into an Array, if it's not an Array already.

MrRio added a commit that referenced this pull request May 14, 2015
Fix right alignment in table cells
@MrRio MrRio merged commit d2a0c03 into parallax:master May 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants