Context
The original streaming, VDOM-native Markdown component shipped in #13034. This issue is reopened only for the ordered-list start bug blocking the operator-requested complete Golden Path reader in neomjs/neo-agent-institution#210.
Problem
The lexer accepts numbered list markers but discards their numeric values. Separate blocks beginning with 1. and 2. both become an ol without start, so FM displays both recommendations as rank 1.
Fix and contract
Preserve each ordered block's first marker and emit the standard VDOM start field for non-1 starts. Default 1-based lists and unordered lists keep their existing shape. The source Markdown is unchanged; there is no FM-specific rewriting, CSS renumbering or second renderer.
| Surface |
Behavior |
Evidence |
| Ordered block parsing |
First marker, including zero, survives as a numeric start value |
Existing Parser spec regression |
| Ordered-list VDOM |
Non-1 start emits start: String(value) |
Parser output and paired FM render |
| Existing contracts |
Stable IDs, streaming and inert-content policy unchanged |
Existing Parser suite |
Acceptance Criteria
Post-Merge Validation
The paired FM reader in neomjs/neo-agent-institution#210 consumes the merged engine fix and verifies the displayed recommendation numbers.
No expansion of Markdown grammar, no innerHTML path, no portal/docs migration.
Origin Session ID: f4539f98-814e-43c1-8214-a10206fb0d73
Context
The original streaming, VDOM-native Markdown component shipped in #13034. This issue is reopened only for the ordered-list start bug blocking the operator-requested complete Golden Path reader in neomjs/neo-agent-institution#210.
Problem
The lexer accepts numbered list markers but discards their numeric values. Separate blocks beginning with
1.and2.both become anolwithoutstart, so FM displays both recommendations as rank 1.Fix and contract
Preserve each ordered block's first marker and emit the standard VDOM
startfield for non-1 starts. Default 1-based lists and unordered lists keep their existing shape. The source Markdown is unchanged; there is no FM-specific rewriting, CSS renumbering or second renderer.start: String(value)Acceptance Criteria
Post-Merge Validation
The paired FM reader in neomjs/neo-agent-institution#210 consumes the merged engine fix and verifies the displayed recommendation numbers.
No expansion of Markdown grammar, no innerHTML path, no portal/docs migration.
Origin Session ID: f4539f98-814e-43c1-8214-a10206fb0d73