Skip to content

Commit

Permalink
Merge pull request #120 from w3c/bug-georss
Browse files Browse the repository at this point in the history
Fix bug in georss parsing
  • Loading branch information
dontcallmedom authored Oct 17, 2023
2 parents ff89646 + 6bb90bd commit 9a88088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feedvalidator/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ def validate(self):
if self.value.find(',')>=0:
# ensure that commas are only used to separate lat and long
if not re.match('^[-+.0-9]+[, ][-+.0-9]( [-+.0-9]+[, ][-+.0-9])+$',
value.strip()):
self.value.strip()):
return self.log(InvalidCoordList({'value':self.value}))
self.log(CoordComma({'value':self.value}))
self.value=self.value.replace(',',' ')
Expand Down

0 comments on commit 9a88088

Please sign in to comment.