saif: skip escape character instead of copying escaped one (#229)

This commit is contained in:
Mateusz Gancarz
2025-04-04 15:23:40 -07:00
committed by GitHub
parent de323aa543
commit 30de039c33
+1 -3
View File
@@ -196,9 +196,7 @@ SaifReader::unescaped(const char *token)
string unescaped;
for (const char *t = token; *t; t++) {
char ch = *t;
if (ch == escape_)
unescaped += *(t+1);
else
if (ch != escape_)
// Just the normal noises.
unescaped += ch;
}