diff --git a/CHANGELOG.md b/CHANGELOG.md index 97b5236f..eedc8fdf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ All notable changes in pdfminer.six will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). -## [Unreleased] +## [20220506] ### Fixed diff --git a/pdfminer/layout.py b/pdfminer/layout.py index 9196a88e..5158f0eb 100644 --- a/pdfminer/layout.py +++ b/pdfminer/layout.py @@ -495,7 +495,8 @@ def __repr__(self) -> str: ) def analyze(self, laparams: LAParams) -> None: - LTTextContainer.analyze(self, laparams) + for obj in self._objs: + obj.analyze(laparams) LTContainer.add(self, LTAnno("\n")) return