/////////////////////////////////////////////////////////////////////////// Decode values after parse. [ <- &open; ] <- &close;
| 1623 | // [ <- &open; |
| 1624 | // ] <- &close; |
| 1625 | const std::string Task::decode(const std::string& value) const { |
| 1626 | if (value.find('&') == std::string::npos) return value; |
| 1627 | |
| 1628 | auto modified = str_replace(value, "&open;", "["); |
| 1629 | return str_replace(modified, "&close;", "]"); |
| 1630 | } |
| 1631 | |
| 1632 | //////////////////////////////////////////////////////////////////////////////// |
| 1633 | int Task::determineVersion(const std::string& line) { |