diff --git a/app/sources/rosetta/lib/response_parser.py b/app/sources/rosetta/lib/response_parser.py index 89180ea..43460c8 100644 --- a/app/sources/rosetta/lib/response_parser.py +++ b/app/sources/rosetta/lib/response_parser.py @@ -371,11 +371,7 @@ def contact_info(self) -> dict: } ) return { - "address_line_1": document("addressline1") - .text() - .replace("

", ", ") - .replace("
", ", ") - or None, + "address_line_1": [line for line in document("addressline1").text().split("
") if line] or [], "town": document("addresstown").text() or None, "postcode": document("postcode").text() or None, "country": document("addresscountry").text() or None,