mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #402] [MERGED] Fixed a bug in HeadingRenderer #995
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
master← Head:HeadingRendererBugFix📝 Commits (1)
2472098Fixed 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.