From 0ab95990e547852fb7a871fc58adc073dc88af8a Mon Sep 17 00:00:00 2001 From: David Hoppenbrouwers Date: Mon, 10 Oct 2022 19:05:42 +0200 Subject: [PATCH] Don't strip whitespace It breaks code formatting --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0dc2a8f..0e77861 100644 --- a/main.py +++ b/main.py @@ -691,4 +691,4 @@ def trim_text(s): ''' Because browsers LOVE \\r, trailing whitespace etc. ''' - return s.strip().replace('\r', '') + return s.replace('\r', '')