Skip to content

Commit

Permalink
Rename a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsankalafchi committed Sep 26, 2024
1 parent dfa2c94 commit b27ef11
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Markdig/Renderers/MarkdownObjectRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ public bool Accept(RendererBase renderer, Type objectType)

public virtual void Write(RendererBase renderer, MarkdownObject obj)
{
var htmlRenderer = (TRenderer)renderer;
var typedRenderer = (TRenderer)renderer;
var typedObj = (TObject)obj;

if (_tryWriters is not null && TryWrite(htmlRenderer, typedObj))
if (_tryWriters is not null && TryWrite(typedRenderer, typedObj))
{
return;
}

Write(htmlRenderer, typedObj);
Write(typedRenderer, typedObj);
}

private bool TryWrite(TRenderer renderer, TObject obj)
Expand Down

0 comments on commit b27ef11

Please sign in to comment.