/////////////////////////////////////////////////////////////////////////// Decode values after parse. [ <- &open; ] <- &close;
| 127 | // [ <- &open; |
| 128 | // ] <- &close; |
| 129 | const std::string TF2::decode(const std::string& value) const { |
| 130 | if (value.find('&') == std::string::npos) return value; |
| 131 | |
| 132 | auto modified = str_replace(value, "&open;", "["); |
| 133 | return str_replace(modified, "&close;", "]"); |
| 134 | } |
| 135 | |
| 136 | //////////////////////////////////////////////////////////////////////////////// |
| 137 | void TF2::load_tasks() { |