diff options
-rw-r--r-- | alot/helper.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/alot/helper.py b/alot/helper.py index c97f187c..95f1c32e 100644 --- a/alot/helper.py +++ b/alot/helper.py @@ -81,14 +81,13 @@ def string_sanitize(string, tab_width=8): :type tab_width: int or `None` >>> string_sanitize(' foo\rbar ', 8) - 'foobar' + ' foobar ' >>> string_sanitize('foo\tbar', 8) 'foo bar' >>> string_sanitize('foo\t\tbar', 8) 'foo bar' """ - string = string.strip() string = string.replace('\r', '') lines = list() |