From 39ae8275e1f951815c0bd7112bea0d2a4264488b Mon Sep 17 00:00:00 2001 From: Dirk Steinkopf Date: Sat, 2 Mar 2019 17:29:16 +0100 Subject: [PATCH] trim xml elements --- exitwp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exitwp.py b/exitwp.py index 0a59010..21ae3c7 100755 --- a/exitwp.py +++ b/exitwp.py @@ -130,7 +130,7 @@ def gi(q, unicode_wrap=True, empty=False): result = '' if unicode_wrap: result = unicode(result) - return result + return result.strip() body = gi('content:encoded') for key in body_replace: