Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Commit

Permalink
Remove extra line breaks in addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
ahosgood committed Jan 18, 2024
1 parent 54254d8 commit 0e0d45c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/sources/rosetta/lib/response_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ def contact_info(self) -> dict:
"address_line_1": document("addressline1")
.text()
.replace("<br /><br />", ", ")
.replace("<br />", ", ")
or None,
"town": document("addresstown").text() or None,
"postcode": document("postcode").text() or None,
Expand Down

0 comments on commit 0e0d45c

Please sign in to comment.