Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing space in Area total key #16

Open
boondocklabs opened this issue Feb 13, 2025 · 1 comment
Open

Trailing space in Area total key #16

boondocklabs opened this issue Feb 13, 2025 · 1 comment
Labels

Comments

@boondocklabs
Copy link

I noticed there's a trailing space in "total " for each Area. For example from us.json:

    "Area": {
      "total ": {
        "text": "9,833,517 sq km"
      },
@geraldb geraldb added the bug label Feb 13, 2025
@geraldb
Copy link
Member

geraldb commented Feb 13, 2025

@boondocklabs thanks for reporting the trailing space in the key. looks like this trailing space is "upstream" in orginal source e.g. try https://www.cia.gov/the-world-factbook/geos/us.json. you are right. it might be a good idea to remove leading and trailing spaces from keys (and consider the trailing space a bug). the converter code is here -> https://github.com/factbook/factbook/tree/master/factbook-readers. i try to to push out an update in the next days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants