commit 5c879792c3443a78501ce87aab9216f42812fd91
parent 72741790db75881ac35042d73179980cfa9df0d4
Author: voidcase <voidcase@users.noreply.github.com>
Date: Wed, 13 Jan 2021 12:04:58 +0100
Merge pull request #4 from snan/trailing
Strip trailing whitespace
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/txtv/txtv.py b/txtv/txtv.py
@@ -63,7 +63,7 @@ class Page:
and not cfg.getboolean('show', 'navigation_footer'):
pass
else:
- filtered += line + '\n'
+ filtered += line.rstrip() + '\n'
return filtered
def next_page(self):