egh / ledger-autosync

Synchronize your ledger-cli files with your bank.
GNU General Public License v3.0
273 stars 42 forks source link

converter: Strip out & in clean_ids #79

Closed qypea closed 5 years ago

qypea commented 5 years ago

If left in then csvids with & in them never match, despite being the same exact string.

Sample csvid which does not match, leading to duplicate imports:

$ git grep '03_21_2019,-9.64,BOARD_&_BREW_-_SCRIPPS_SAN_DIEGO_CA'
ledger.ldg:    ; csvid: 03_21_2019,-9.64,BOARD_&_BREW_-_SCRIPPS_SAN_DIEGO_CA
ledger.ldg:    ; csvid: 03_21_2019,-9.64,BOARD_&_BREW_-_SCRIPPS_SAN_DIEGO_CA
egh commented 5 years ago

Thank you!