From 791516523d198fb72d5b3e9fecb2dc3f3e794f77 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Wed, 13 Nov 2024 12:32:20 +0100 Subject: [PATCH] fix compilation error --- src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs b/src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs index b622eda..09b511e 100644 --- a/src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs +++ b/src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs @@ -29,7 +29,7 @@ public override void FinalizeAndValidate(ParserContext context) { Classes = Properties.GetValueOrDefault("class"); CrossReferenceName = Properties.GetValueOrDefault("name"); - ParseBool("open", b => DropdownOpen = b); + DropdownOpen = PropBool("open"); } }