mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3325
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/Niko1221/Strata/pull/1228
Author: @BGonnermann
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:web/loose-lists-671📝 Commits (2)
dfcca73serve: list items separated by blank lines are one list, and a list continued later keeps its numbers (#671)5772da5web: scan loose-list blank runs once📊 Changes
2 files changed (+104 additions, -3 deletions)
View changed files
➕
serve/test_web_markdown.py(+91 -0)📝
serve/web/app.js(+13 -3)📄 Description
Fixes #671.
Blank lines between list items currently split an ordered list into several
<ol>blocks, each numbered1.. Keep items of the same kind in one list across blank lines. A list resumed after a code block or paragraph starts at its written number, including0.Skip each run of blank lines once. The original implementation rescanned the remaining run for every blank line and could stall chat rendering. The new regression test times out on that implementation and passes after the repair.
Validation on Windows 11, Python 3.14.7, and Node 24.19.0:
python -m unittest serve.test_web_markdown -v: four tests pass. The two original list regressions fail on unmodified upstreamd5ea713.python -m unittest discover -s serve -p 'test_*.py' -v: 456 tests, OK, six skipped in the normal Windows user environment.0and7render correctly. Desktop 1280x1400 and mobile 390x1400 screenshots inspected. No browser page errors.Indented paragraphs remain separate paragraphs between lists, as described in the original PR. No new Markdown syntax is added.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.