wesselt / bunq2ynab

Upload bunq transactions to ynab
Other
72 stars 18 forks source link

Remove whitespace from transaction description #16

Closed zr40 closed 4 years ago

zr40 commented 4 years ago

YNAB preserves trailing newlines in transactions created via the API, which show up as-is in YNAB. Most bunq card payment descriptions have a trailing newline. This caused the newline to be visible in YNAB.

By stripping the description, the newline is removed.