From 030d6906cd3f4ba1dc0162cb0d6ebccf3a7e66e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Thu, 17 Feb 2022 21:51:03 +0100 Subject: [PATCH] fix padding in generic text --- PyTeX/format/generic_text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PyTeX/format/generic_text.py b/PyTeX/format/generic_text.py index 8e36452..9e09c01 100644 --- a/PyTeX/format/generic_text.py +++ b/PyTeX/format/generic_text.py @@ -71,7 +71,7 @@ class GenericText: try: line = '% ' + line.rstrip().format(**kwargs) if padding: - line = line.ljust(77) + ' %' + line = line.ljust(79) + '%' if len(line) > 80: logger.warning( 'Line too long') # TODO