From e19aea932d10938a995e89aea79fb304da5a82ff Mon Sep 17 00:00:00 2001 From: Pieter Marsman Date: Fri, 6 May 2022 22:02:32 +0200 Subject: [PATCH] Bump version 20220506 & fix small issue with types --- CHANGELOG.md | 2 +- pdfminer/layout.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97b5236..eedc8fd 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 9196a88..5158f0e 100644 --- a/pdfminer/layout.py +++ b/pdfminer/layout.py @@ -495,7 +495,8 @@ class LTTextLine(LTTextContainer[TextLineElement]): ) def analyze(self, laparams: LAParams) -> None: - LTTextContainer.analyze(self, laparams) + for obj in self._objs: + obj.analyze(laparams) LTContainer.add(self, LTAnno("\n")) return