Improve escaping of % in command parsing
This commit is contained in:
parent
ca2043d9f2
commit
01152d7cd9
|
@ -310,7 +310,7 @@ TokenList parse(StringView line)
|
|||
|
||||
if (not str.empty())
|
||||
result.emplace_back(Token::Type::Raw, start, reader.pos,
|
||||
coord, std::move(str));
|
||||
coord, std::move(unescape(str, "%", '\\')));
|
||||
}
|
||||
|
||||
if (is_command_separator(*reader))
|
||||
|
|
Loading…
Reference in New Issue
Block a user