- Added legacy warnings about use of fg: or bg:.
This commit is contained in:
Paul Beckingham 2011-08-27 14:29:08 -04:00
parent 1c98544380
commit ab931b6af2
3 changed files with 7 additions and 4 deletions

View file

@ -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;", "[");