From c7532b6ed77549577fb4d2824874257366e5146f Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Tue, 5 Jun 2018 00:13:54 -0800 Subject: [PATCH] Remove leading and trailing whitespace --- exts/imports/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exts/imports/utils.py b/exts/imports/utils.py index 394b123..9429152 100644 --- a/exts/imports/utils.py +++ b/exts/imports/utils.py @@ -170,7 +170,7 @@ class Paginator: item = str(item) i = 0 if not keep_intact and not item == self._page_break: - item_parts = item.split('\n') + item_parts = item.strip().split('\n') for part in item_parts: if len(part) > self._max_line_length: length = 0