Fix for issue #73, will also work with ??? #103

Closed
wants to merge 3 commits into
from

Projects

None yet

2 participants

@pietervandereems

When calling .text with either an empty string, blank string or a non-matched string (like "???") the extra width calculation will fail because words.length is not possible on a null value.

On the regexp match use the text in an array as default.
This way the text will still be added to the pdf.

@devongovett
Owner

Should be fixed by recent changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment