OpenCageData / address-formatting

templates to format geographic addresses
MIT License
394 stars 84 forks source link

Add quotes to multiple postcodes. #75

Closed sergiogomez closed 3 years ago

sergiogomez commented 3 years ago

A string of digits separated by comma without quotes can be evaluated as integer by some YAML parsing libraries (eg: psych for ruby):

YAML.load("postcode: 63739,63741,63743")
 => {"postcode"=>637396374163743}
YAML.load("postcode: '63739,63741,63743'")
 => {"postcode"=>"63739,63741,63743"}
freyfogle commented 3 years ago

thanks, nice catch!