Fix recursive string parsing, correct handling of escapes
This commit is contained in:
parent
5b27b956ad
commit
047488a8da
|
@ -292,6 +292,7 @@ String eval(const String& str, Context& context,
|
|||
if (c != '%' and c != '\\')
|
||||
res += '\\';
|
||||
res += c;
|
||||
++pos;
|
||||
}
|
||||
else if (str[pos] == '%')
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user