[PR #402] [MERGED] Fixed a bug in HeadingRenderer #995

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

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/402
Author: @KrisVandermotten
Created: 3/1/2020
Status: Merged
Merged: 3/8/2020
Merged by: @xoofx

Base: masterHead: HeadingRendererBugFix


📝 Commits (1)

  • 2472098 Fixed a bug in HeadingRenderer

📊 Changes

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

View changed files

📝 src/Markdig/Renderers/Html/HeadingRenderer.cs (+4 -3)

📄 Description

The rendered HTML for Heading level 7 and above was incorrect.

This PR fixes that.

In addition, a minor optimization removes the range check over the array bounds.


🔄 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/402 **Author:** [@KrisVandermotten](https://github.com/KrisVandermotten) **Created:** 3/1/2020 **Status:** ✅ Merged **Merged:** 3/8/2020 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `HeadingRendererBugFix` --- ### 📝 Commits (1) - [`2472098`](https://github.com/xoofx/markdig/commit/247209870e4d56f731e8c620722dfbcac62fafd0) Fixed a bug in HeadingRenderer ### 📊 Changes **1 file changed** (+4 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig/Renderers/Html/HeadingRenderer.cs` (+4 -3) </details> ### 📄 Description The rendered HTML for Heading level 7 and above was incorrect. This PR fixes that. In addition, a minor optimization removes the range check over the array bounds. --- <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:48:20 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#995