Skip to content

Commit 33d7f71

Browse files
committed
Merge pull request py-pdf#208 from peircej/master
Separate extracted text fields with EOLs
2 parents 1cdcf7e + 8271888 commit 33d7f71

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

PyPDF2/pdf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2543,6 +2543,7 @@ def extractText(self):
25432543
for i in operands[0]:
25442544
if isinstance(i, TextStringObject):
25452545
text += i
2546+
text += "\n"
25462547
return text
25472548

25482549
mediaBox = createRectangleAccessor("/MediaBox", ())

0 commit comments

Comments
 (0)