Allow escaping quotes in string
This commit is contained in:
parent
46308557c8
commit
4414534866
|
@ -144,6 +144,11 @@ namespace Upsilon.Parser
|
|||
while (_position < _text.Length)
|
||||
{
|
||||
_position++;
|
||||
if (Current == '\\' && Next == '"')
|
||||
{
|
||||
sb.Append("\"");
|
||||
_position += 2;
|
||||
}
|
||||
if (Current == '"')
|
||||
break;
|
||||
sb.Append(Current);
|
||||
|
|
Loading…
Reference in New Issue