diff options
author | Michael Budde <mbudde@gmail.com> | 2019-02-16 21:24:44 +0100 |
---|---|---|
committer | Martin Michlmayr <tbm@cyrius.com> | 2019-03-30 20:31:28 +0700 |
commit | fbf8b2458c6ae3ad2ed2bf0575b94800722d5a04 (patch) | |
tree | 46d550893231e0111d1453c695684413de8593bf /doc | |
parent | 13044f9c8d5757b6885d78cb5f7f37770e3750ab (diff) | |
download | fork-ledger-fbf8b2458c6ae3ad2ed2bf0575b94800722d5a04.tar.gz fork-ledger-fbf8b2458c6ae3ad2ed2bf0575b94800722d5a04.tar.bz2 fork-ledger-fbf8b2458c6ae3ad2ed2bf0575b94800722d5a04.zip |
Fix tag value parsing
If a tag is more than 2 characters from the beginning of the comment the
tag value offset will be wrong. #1702 gives an example where the tag
line starts with `;;` and the tag value thus becomes `: Bar` because of
this bug.
The use `index` in the offset calulation seems to be a lucky coincidence
that works in the common case: "; tag: value"
Fixes #1702
Diffstat (limited to 'doc')
-rw-r--r-- | doc/NEWS.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/NEWS.md b/doc/NEWS.md index ce468b7f..f8196a20 100644 --- a/doc/NEWS.md +++ b/doc/NEWS.md @@ -6,6 +6,8 @@ - Make sorting order of lot information deterministic (bug #1747) +- Fix bug in tag value parsing (bug #1702) + - Remove the `org` command, which was always a hack to begin with (bug #1706) - Provide Docker information in README |