Skip to content

Commit

Permalink
Allow null for BlockParser ctor argument of QuoteBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
xoofx committed Mar 14, 2024
1 parent af38833 commit 64dc4e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Markdig/Extensions/Alerts/AlertBlock.cs
Expand Up @@ -16,7 +16,7 @@ public class AlertBlock : QuoteBlock
/// Creates a new instance of this block.
/// </summary>
/// <param name="kind"></param>
public AlertBlock(StringSlice kind) : base(null!)
public AlertBlock(StringSlice kind) : base(null)
{
Kind = kind;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Markdig/Syntax/QuoteBlock.cs
Expand Up @@ -19,7 +19,7 @@ public class QuoteBlock : ContainerBlock
/// Initializes a new instance of the <see cref="QuoteBlock"/> class.
/// </summary>
/// <param name="parser">The parser used to create this block.</param>
public QuoteBlock(BlockParser parser) : base(parser)
public QuoteBlock(BlockParser? parser) : base(parser)
{
}

Expand Down

0 comments on commit 64dc4e6

Please sign in to comment.