[PR #511] [MERGED] Expose TextRendererBase.Reset method to inheritors #1067

Open
opened 2026-01-29 14:49:19 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/511
Author: @AndreyChechel
Created: 2/9/2021
Status: Merged
Merged: 2/17/2021
Merged by: @xoofx

Base: masterHead: issue-508


📝 Commits (1)

  • 4e424c4 Expose TextRendererBase.Reset method to inheritors

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/Markdig/Renderers/TextRendererBase.cs (+1 -1)

📄 Description

Fixes #508 by exposing the TextRendererBase.Reset method to the class inheritors.
That change makes it possible to implement custom caches of HtmlRenderer instances.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/xoofx/markdig/pull/511 **Author:** [@AndreyChechel](https://github.com/AndreyChechel) **Created:** 2/9/2021 **Status:** ✅ Merged **Merged:** 2/17/2021 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `issue-508` --- ### 📝 Commits (1) - [`4e424c4`](https://github.com/xoofx/markdig/commit/4e424c43fb69bbf76876026da8c862d052d953a1) Expose `TextRendererBase.Reset` method to inheritors ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig/Renderers/TextRendererBase.cs` (+1 -1) </details> ### 📄 Description Fixes #508 by exposing the [`TextRendererBase.Reset`](https://github.com/xoofx/markdig/blob/3030b72f781f902cb947a173853de95de8924c6c/src/Markdig/Renderers/TextRendererBase.cs#L93-L107) method to the class inheritors. That change makes it possible to implement custom caches of `HtmlRenderer` instances. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 14:49:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1067