From c9ea1c75079d9a4ee121dcafb0e921d42759e5a0 Mon Sep 17 00:00:00 2001 From: Martijn Laarman Date: Tue, 17 Dec 2024 11:47:42 +0100 Subject: [PATCH] ensure dropdown sets its own admonition type again --- src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs b/src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs index d3d366d..09d4142 100644 --- a/src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs +++ b/src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs @@ -44,10 +44,4 @@ public override void FinalizeAndValidate(ParserContext context) public class DropdownBlock(DirectiveBlockParser parser, Dictionary properties, ParserContext context) : AdmonitionBlock(parser, "admonition", properties, context) { - // ReSharper disable once RedundantOverriddenMember - public override void FinalizeAndValidate(ParserContext context) - { - base.FinalizeAndValidate(context); - Classes = $"dropdown {Classes}"; - } }