mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Legacy
- Added legacy warnings about use of fg: or bg:.
This commit is contained in:
parent
1c98544380
commit
ab931b6af2
3 changed files with 7 additions and 4 deletions
|
@ -497,11 +497,9 @@ const std::string encode (const std::string& value)
|
|||
{
|
||||
std::string modified = value;
|
||||
|
||||
str_replace (modified, "\t", "&tab;");
|
||||
str_replace (modified, "\"", "&dquot;");
|
||||
str_replace (modified, "[", "&open;");
|
||||
str_replace (modified, "]", "&close;");
|
||||
str_replace (modified, "\\", "\\\\");
|
||||
|
||||
return modified;
|
||||
}
|
||||
|
@ -520,7 +518,6 @@ const std::string decode (const std::string& value)
|
|||
std::string modified = value;
|
||||
|
||||
// Supported encodings.
|
||||
str_replace (modified, "&tab;", "\t");
|
||||
str_replace (modified, "&dquot;", "\"");
|
||||
str_replace (modified, """, "'");
|
||||
str_replace (modified, "&open;", "[");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue