mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Task: Added a Lexer::dequote to values
This commit is contained in:
parent
1cf07cd6fb
commit
960d2be06d
1 changed files with 2 additions and 5 deletions
|
@ -1880,11 +1880,6 @@ float Task::urgency_blocking () const
|
||||||
// It came from the Command base object, but doesn't really belong there either.
|
// It came from the Command base object, but doesn't really belong there either.
|
||||||
void Task::modify (modType type, bool text_required /* = false */)
|
void Task::modify (modType type, bool text_required /* = false */)
|
||||||
{
|
{
|
||||||
std::string text = "";
|
|
||||||
|
|
||||||
if (context.config.getInteger ("debug.parser") >= 1)
|
|
||||||
context.debug (context.cli.dump ());
|
|
||||||
|
|
||||||
context.debug ("Task::modify");
|
context.debug ("Task::modify");
|
||||||
std::string label = " [1;37;43mMODIFICATION[0m ";
|
std::string label = " [1;37;43mMODIFICATION[0m ";
|
||||||
|
|
||||||
|
@ -1911,6 +1906,8 @@ void Task::modify (modType type, bool text_required /* = false */)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Lexer::dequote (value);
|
||||||
|
|
||||||
// Get the column info.
|
// Get the column info.
|
||||||
Column* column = context.columns[name];
|
Column* column = context.columns[name];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue