Skip to content

Commit

Permalink
ensure dropdown sets its own admonition type again
Browse files Browse the repository at this point in the history
  • Loading branch information
Mpdreamz committed Dec 17, 2024
1 parent 3a4f4ae commit c9ea1c7
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Elastic.Markdown/Myst/Directives/AdmonitionBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,4 @@ public override void FinalizeAndValidate(ParserContext context)
public class DropdownBlock(DirectiveBlockParser parser, Dictionary<string, string> properties, ParserContext context)
: AdmonitionBlock(parser, "admonition", properties, context)
{
// ReSharper disable once RedundantOverriddenMember
public override void FinalizeAndValidate(ParserContext context)
{
base.FinalizeAndValidate(context);
Classes = $"dropdown {Classes}";
}
}

0 comments on commit c9ea1c7

Please sign in to comment.