[openaddresses] replacing backticks with apostrophe, comes up in several countries

This commit is contained in:
Al
2016-08-29 21:42:10 -04:00
parent 3f5b3dcb1d
commit 78a210c409

View File

@@ -43,7 +43,8 @@ class OpenAddressesFormatter(object):
# All fields # All fields
None: [ None: [
(re.compile('<\s*null\s*>', re.I), six.u('')), (re.compile('<\s*null\s*>', re.I), six.u('')),
(re.compile('[\s]{2,}'), six.u(' ')) (re.compile('[\s]{2,}'), six.u(' ')),
(re.compile('\`'), six.u("'")),
], ],
AddressFormatter.HOUSE_NUMBER: [ AddressFormatter.HOUSE_NUMBER: [
# Most of the house numbers in Montreal start with "#" # Most of the house numbers in Montreal start with "#"