diff --git a/PyPDF2/pdf.py b/PyPDF2/pdf.py index d278a874e..ec2cf1f0b 100644 --- a/PyPDF2/pdf.py +++ b/PyPDF2/pdf.py @@ -2683,6 +2683,7 @@ def extractText(self): elif operator == b_("TJ"): for i in operands[0]: if isinstance(i, TextStringObject): + text += " " text += i text += "\n" return text