[PR #50] [MERGED] Changes List Extra to output valid integer for start attribute, instead of roman or latin character. #788

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

📋 Pull Request Information

Original PR: https://github.com/xoofx/markdig/pull/50
Author: @christophano
Created: 8/23/2016
Status: Merged
Merged: 8/27/2016
Merged by: @xoofx

Base: masterHead: bugfix/ordered-list-start-attribute


📝 Commits (1)

  • f9be64a Changes List Extra to output valid integer for start attribute, instead of roman or latin character.

📊 Changes

5 files changed (+36 additions, -9 deletions)

View changed files

📝 src/Markdig.Tests/Specs/ListExtraSpecs.md (+2 -2)
📝 src/Markdig.Tests/Specs/Specs.cs (+4 -4)
📝 src/Markdig/Extensions/ListExtras/ListExtraItemParser.cs (+4 -2)
📝 src/Markdig/Helpers/CharHelper.cs (+25 -0)
📝 src/Markdig/Renderers/Html/ListRenderer.cs (+1 -1)

📄 Description

The List Extra extension currently outputs whatever the next value is when continuing lists, which may not be a valid integer.
I've changed it so it converts latin and roman characters to the appropriate number for the start attribute.


🔄 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/50 **Author:** [@christophano](https://github.com/christophano) **Created:** 8/23/2016 **Status:** ✅ Merged **Merged:** 8/27/2016 **Merged by:** [@xoofx](https://github.com/xoofx) **Base:** `master` ← **Head:** `bugfix/ordered-list-start-attribute` --- ### 📝 Commits (1) - [`f9be64a`](https://github.com/xoofx/markdig/commit/f9be64a988f1d91af67793bfde8ec72d822ae95a) Changes List Extra to output valid integer for start attribute, instead of roman or latin character. ### 📊 Changes **5 files changed** (+36 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `src/Markdig.Tests/Specs/ListExtraSpecs.md` (+2 -2) 📝 `src/Markdig.Tests/Specs/Specs.cs` (+4 -4) 📝 `src/Markdig/Extensions/ListExtras/ListExtraItemParser.cs` (+4 -2) 📝 `src/Markdig/Helpers/CharHelper.cs` (+25 -0) 📝 `src/Markdig/Renderers/Html/ListRenderer.cs` (+1 -1) </details> ### 📄 Description The List Extra extension currently outputs whatever the next value is when continuing lists, which may not be a valid integer. I've changed it so it converts latin and roman characters to the appropriate number for the start attribute. --- <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:45:32 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#788