diff --git a/src/Markdig/Renderers/MarkdownObjectRenderer.cs b/src/Markdig/Renderers/MarkdownObjectRenderer.cs index 94175474..fb044c49 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)