Remove hyphen from list of items triggering quoting

Closes #576

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2023-12-17 11:27:29 +01:00
parent f0b89239a7
commit 159b8c642a
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@
- #494 Expand annotations in summary
(thanks to catexis)
- #566 Set table width dynamically to terminal width
- #576 Fix quoting of tags in DOM output
- Add ':today' hint
- Refactor holidays/refresh script
- Update task-timewarrior-hook script to 87a3426d8153f92aaee2edf36b2de62e48c4de0e

View file

@ -55,7 +55,7 @@ std::string quoteIfNeeded (const std::string& input)
{
auto quote = input.find ('"');
auto space = input.find (' ');
auto op = input.find_first_of ("+-/()<^!=~_%");
auto op = input.find_first_of ("+/()<^!=~_%");
if (quote == std::string::npos &&
space == std::string::npos &&