chiark / gitweb /
Fix goof in IndentedParagraph.
authorSimon Tatham <anakin@pobox.com>
Thu, 14 Dec 2023 18:20:24 +0000 (18:20 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 14 Dec 2023 18:20:24 +0000 (18:20 +0000)
text.py

diff --git a/text.py b/text.py
index 233c0f06469923d3197fe662685096067606a723..8257f688caa92b6c3dc7c584d7d89f663f18f4a3 100644 (file)
--- a/text.py
+++ b/text.py
@@ -396,7 +396,7 @@ class IndentedParagraph(Paragraph):
         except StopIteration:
             return
         for line in it:
-            yield " " * self.laterindent + next(it)
+            yield " " * self.laterindent + line
 
 class NotificationLog:
     can_highlight_as_target = True