Merge pull request #2076 from djmitche/task-decode-comment

Docs: make comment on Task::decode match reality
This commit is contained in:
Paul Beckingham
2019-01-02 08:02:58 -05:00
committed by GitHub

View File

@@ -1703,12 +1703,8 @@ const std::string Task::encode (const std::string& value) const
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Decode values after parse. // Decode values after parse.
// " <- &dquot;
// ' <- &squot; or &quot;
// , <- &comma;
// [ <- &open; // [ <- &open;
// ] <- &close; // ] <- &close;
// : <- &colon;
const std::string Task::decode (const std::string& value) const const std::string Task::decode (const std::string& value) const
{ {
if (value.find ('&') == std::string::npos) if (value.find ('&') == std::string::npos)