diff --git a/ChangeLog b/ChangeLog index b04c8300..a1fddf7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -31,6 +31,7 @@ - #167 Cannot shorten interval to zero length (thanks to janikrabe) - #174 Interval is split in two when it encloses month border +- #183 Hyphen in annotation gets padded with spaces - Fixed error from totals.py while timer is active (thanks to davisdude) - Refactoring of Interval and Range diff --git a/src/Interval.cpp b/src/Interval.cpp index 011b4c6d..e44045cc 100644 --- a/src/Interval.cpp +++ b/src/Interval.cpp @@ -89,7 +89,7 @@ std::string Interval::serialize () const if (! annotation.empty ()) { out << (_tags.empty () ? " #" : "") - << " # " << annotation; + << " # \"" << annotation << "\""; } return out.str ();