From 6d8a1ac5b9ceb8e38d58480de530b10c3438fbf5 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Tue, 8 Aug 2023 22:19:57 +0100 Subject: [PATCH] fix: consume token for template param value --- OliverBooth/Markdown/TemplateInlineParser.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OliverBooth/Markdown/TemplateInlineParser.cs b/OliverBooth/Markdown/TemplateInlineParser.cs index 38435d6..376463a 100644 --- a/OliverBooth/Markdown/TemplateInlineParser.cs +++ b/OliverBooth/Markdown/TemplateInlineParser.cs @@ -85,7 +85,7 @@ public sealed class TemplateInlineParser : InlineParser } else { - ReadOnlySpan result = ReadNext(argumentSpan, ref index, false, out bool hasValue); + ReadOnlySpan result = ReadNext(argumentSpan, ref index, true, out bool _); var key = buffer.ToString(); var value = result.ToString();