| 383 | // ------------------------------------------------------- |
| 384 | |
| 385 | string escape_percent(const string& str) |
| 386 | { |
| 387 | string temp; |
| 388 | for(auto c : str) |
| 389 | { |
| 390 | if (c != '%') |
| 391 | { |
| 392 | temp += c; |
| 393 | } |
| 394 | else |
| 395 | { |
| 396 | temp += c; |
| 397 | temp += c; |
| 398 | } |
| 399 | } |
| 400 | return temp; |
| 401 | } |
| 402 | |
| 403 | string escape_percent(const std::ostringstream& sout) |
| 404 | { |
no test coverage detected