Repository navigation
Conversation
Signed-off-by: asad saleem <156583018+asadsehto@users.noreply.github.com>
Contributor
|
✅ DCO Check Passed Thanks @asadsehto, all your commits are properly signed off. 🎉 |
Contributor
Merge Protections🔴 1 of 2 protections blocking · waiting on 👀 reviews
🔴 Require two reviewer for test updatesWaiting for
This rule is failing.When test data is updated, we require two reviewers
Show 1 satisfied protection🟢 Enforce conventional commitMake sure that we follow https://www.conventionalcommits.org/en/v1.0.0/
|
Contributor
AI triage (advisory)Checked commit Warning The AI analysis did not finish. Only the deterministic checks are shown. Topic labels added: CI safety: not assessed. The |
1 of 3 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Markdown export kept a list item's original marker whenever it matched
\d+\.. Python's\dmatches any Unicode decimal digit, so markers such as१.(Devanagari) and1.(full-width) were written without a-, and CommonMark, which only accepts ASCII digits in an ordered-list marker, rendered the items as one paragraph. The check now uses[0-9]+\., so these markers get a-like any other non-standard marker, and ASCII markers such as3.are unchanged.Issue resolved by this Pull Request:
Resolves #1098
Checklist:
Review evidence:
१. a/२. b, whichMarkdownIt("commonmark")renders as<p>१. a\n२. b</p>. After:- १. a/- २. b, rendered as a<ul>list.test_md_list_item_marker_auto_non_asciigets three cases:3.(unchanged),१.and3.. The two non-ASCII cases fail onmain; all 9 cases pass with this change.pytest tests(Python 3.12, macOS): 1905 passed, 12 skipped, 53 xfailed (main: 1902 passed; the difference is the three new cases). No reference files changed.make validate: passed (ruff 0.16.10, ty, docs, whitespace hooks).Reported in the review of docling-project/docling#5657, which adds
hindiNumbersmarkers; docling'sdecimalFullWidthmarkers (docling-project/docling#4336) were already affected.