diff --git a/PyPDF2/pdf.py b/PyPDF2/pdf.py index c5cae9e67..bebe903c3 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