mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
[PR #50] [MERGED] Changes List Extra to output valid integer for start attribute, instead of roman or latin character. #788
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/50
Author: @christophano
Created: 8/23/2016
Status: ✅ Merged
Merged: 8/27/2016
Merged by: @xoofx
Base:
master← Head:bugfix/ordered-list-start-attribute📝 Commits (1)
f9be64aChanges 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.