Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

Commit 39ae827

Browse files
committed
trim xml elements
1 parent ae2fc2e commit 39ae827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exitwp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def gi(q, unicode_wrap=True, empty=False):
130130
result = ''
131131
if unicode_wrap:
132132
result = unicode(result)
133-
return result
133+
return result.strip()
134134

135135
body = gi('content:encoded')
136136
for key in body_replace:

0 commit comments

Comments
 (0)