mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Typo
- Wrong variable name. Should have run the tests first.
This commit is contained in:
parent
df2a319201
commit
1392c8e619
1 changed files with 5 additions and 5 deletions
10
src/util.cpp
10
src/util.cpp
|
@ -497,11 +497,11 @@ const std::string encode (const std::string& value)
|
||||||
{
|
{
|
||||||
std::string modified = value;
|
std::string modified = value;
|
||||||
|
|
||||||
str_replace (value, "\t", "&tab;");
|
str_replace (modified, "\t", "&tab;");
|
||||||
str_replace (value, "\"", "&dquot;");
|
str_replace (modified, "\"", "&dquot;");
|
||||||
str_replace (value, "[", "&open;");
|
str_replace (modified, "[", "&open;");
|
||||||
str_replace (value, "]", "&close;");
|
str_replace (modified, "]", "&close;");
|
||||||
str_replace (value, "\\", "\\\\");
|
str_replace (modified, "\\", "\\\\");
|
||||||
|
|
||||||
return modified;
|
return modified;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue