fix: consume token for template param value

This commit is contained in:
Oliver Booth 2023-08-08 22:19:57 +01:00
parent dbbc18b8a6
commit 6d8a1ac5b9
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61

View File

@ -85,7 +85,7 @@ public sealed class TemplateInlineParser : InlineParser
} }
else else
{ {
ReadOnlySpan<char> result = ReadNext(argumentSpan, ref index, false, out bool hasValue); ReadOnlySpan<char> result = ReadNext(argumentSpan, ref index, true, out bool _);
var key = buffer.ToString(); var key = buffer.ToString();
var value = result.ToString(); var value = result.ToString();