bradyt / cone

A ledger.
https://cone.tangential.info
20 stars 5 forks source link

Wrap multi-word commodities in double quotes #16

Closed daraul closed 4 years ago

daraul commented 5 years ago

Sometimes a posting can take this form:

2019/07/23 * Bus
    assets:wallet                 -120.00 GYD
    expenses:transportation:bus    1 "Cummings Lodge to Middle Street"

Note the "Cummings Lodge..." commodity wrapped in uplifted commas. I can already input a custom commodity in cone, but it isn't wrapped in uplifted commas, so it breaks the ledger file.

See https://www.ledger-cli.org/3.0/doc/ledger3.html#Naming-Commodities for some information

bradyt commented 5 years ago

Thank you for the issue.

I'll link to https://plaintextaccounting.org/quickref/, for convenience in the discussion. Though, the reference may not be up to date everywhere.

bradyt commented 4 years ago

This will be fixed in next release, via https://github.com/bradyt/cone/commit/dba73a8365805982696de5faa1c156164f61c556.