From 75bd40ab2840a50a90213b832ccf20b868a13d45 Mon Sep 17 00:00:00 2001 From: bubble-sort <204513895+bubble-sorting@users.noreply.github.com> Date: Mon, 21 Apr 2025 01:47:16 -0300 Subject: [PATCH] Remove leading/trailing spaces after html.unescape in step 3 --- 03-Export-Tags-Authors-Stories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/03-Export-Tags-Authors-Stories.py b/03-Export-Tags-Authors-Stories.py index 4604b78..9b5a6eb 100755 --- a/03-Export-Tags-Authors-Stories.py +++ b/03-Export-Tags-Authors-Stories.py @@ -14,7 +14,7 @@ def write_csv(data, filename, columns): for row in data: r = [] for s in row: - r.append("" if s is None else html.unescape(str(s))) + r.append("" if s is None else html.unescape(str(s)).strip()) myFile.writerows([r]) log.info(f"...Data written to {filename}") else: