Skip to content

Commit

Permalink
fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Nov 13, 2024
1 parent 7915165 commit 1f8ab6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elastic.Markdown/Myst/Directives/DirectiveBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ protected bool PropBool(params string[] keys)
{
var value = Prop(keys);
if (string.IsNullOrEmpty(value))
return Properties.ContainsKey(key);
return keys.Any(k => Properties.ContainsKey(k));

return bool.TryParse(value, out var result) && result;
}
Expand Down

0 comments on commit 1f8ab6f

Please sign in to comment.