highlighter: Fix markdown inline highlighting across list items (#2535)
### Problem Markdown inline highlighting could break across list items. Code span highlighting could stop after the first list item, then apply to later plain text until another code span appeared. ### Solution Preserve the separator text between combined markdown inline ranges before parsing them. This keeps each list item separated during highlighting. Added a regression test for code spans in markdown list items. ### Testing - All highlighter tests (including a new one) - Manual testing via `cargo run -p gpui-component-story --example markdown` --- Implemented-by: Codex 5.5 Reviewed-by: Claude Opus 4.8 --------- Co-authored-by: Jason Lee <huacnlee@gmail.com>
T
Third-Thing committed
3bb69651d8d887b444c5ec228fcb88b6605fb313
Parent: 372446c
Committed by GitHub <noreply@github.com>
on 7/6/2026, 5:51:08 AM