From 0e0d45c3635e868ca3bdd0c5c365118c002684e3 Mon Sep 17 00:00:00 2001 From: Andrew Hosgood Date: Thu, 18 Jan 2024 18:16:56 +0000 Subject: [PATCH] Remove extra line breaks in addresses --- app/sources/rosetta/lib/response_parser.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/sources/rosetta/lib/response_parser.py b/app/sources/rosetta/lib/response_parser.py index adb6335..89180ea 100644 --- a/app/sources/rosetta/lib/response_parser.py +++ b/app/sources/rosetta/lib/response_parser.py @@ -374,6 +374,7 @@ def contact_info(self) -> dict: "address_line_1": document("addressline1") .text() .replace("

", ", ") + .replace("
", ", ") or None, "town": document("addresstown").text() or None, "postcode": document("postcode").text() or None,