mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 04:13:07 +02:00
Enhancement
- Better support for quoted values in attributes.
This commit is contained in:
parent
34db02515c
commit
020a415e83
1 changed files with 3 additions and 2 deletions
|
@ -390,9 +390,10 @@ void A3t::findAttribute ()
|
|||
if (n.skip (':'))
|
||||
{
|
||||
std::string value;
|
||||
if (n.getUntilEOS (value))
|
||||
if (n.getQuoted ('"', value) ||
|
||||
n.getQuoted ('\'', value) ||
|
||||
n.getUntilEOS (value))
|
||||
{
|
||||
|
||||
std::string canonical;
|
||||
if (canonicalize (canonical, "attribute", name))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue