Commit Graph
2 Commits
Author SHA1 Message Date
chenz 2c669935a5 fix(webui): wrap long inline code in plain paragraphs (#6670)
* fix(webui): wrap long inline code in plain paragraphs

Keep long single-line inline code inside top-level paragraphs flowing with surrounding text while preserving consecutive spaces and tabs.

Apply the same whitespace preservation to short inline code in those paragraphs. Lists, quotes, headings, tables, and multiline code blocks retain their existing behavior.

Refs #6662

* test(webui): load code-wrapping renderer lazily

Keep the shared fixture from eagerly loading MarkdownTextRenderer, so history-boundary tests can defer it without blocking page navigation.

Refs #6662
2026-11-15 19:03:42 +08:00
chengyongru e981e97f10 fix(webui): keep numbered code tokens in one wrapping flow 2026-10-27 18:11:57 +08:00