claird / PyPDF4

A utility to read and write PDFs with Python
obsolete-https://pythonhosted.org/PyPDF2/
Other
330 stars 61 forks source link

Output spaces in TextStringObject without escaping #73

Closed NotWearingPants closed 4 years ago

NotWearingPants commented 4 years ago

The check in TextStringObject.writeToStream that was meant to prevent escaping spaces didn't work correctly in python3.

This PR fixes the issue with spaces, and also adds unit tests for TextStringObject.

Fixes #68