From b27ef112404e8f7d7f3f4163e5942853a516e7d2 Mon Sep 17 00:00:00 2001 From: Ehsan Kalafchi Date: Thu, 26 Sep 2024 13:51:18 +0200 Subject: [PATCH] Rename a variable --- src/Markdig/Renderers/MarkdownObjectRenderer.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Markdig/Renderers/MarkdownObjectRenderer.cs b/src/Markdig/Renderers/MarkdownObjectRenderer.cs index 941754742..fb044c49b 100644 --- a/src/Markdig/Renderers/MarkdownObjectRenderer.cs +++ b/src/Markdig/Renderers/MarkdownObjectRenderer.cs @@ -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)