Files
openclaw/ui
maweibin f15f2d1092 fix(ui): normalize Unicode line/paragraph separators in markdown rendering (#102169)
* fix(ui): normalize Unicode line/paragraph separators in markdown

LLM outputs can contain U+2028/U+2029 chars that split() ignores,
causing content to render as one unbroken line in the chat UI.

Define LINE_SEP_RE using String.fromCodePoint() and apply it
alongside existing \r\n normalization in all five markdown
processing entry points. Mirrors normalizeDisplayLineBreaks()
in exec-approval-command-display.

* fix(ui): normalize markdown line breaks once

---------

Co-authored-by: Peter Steinberger <peter@steipete.me>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-07-10 06:38:07 +01:00
..
2026-05-14 10:27:12 +01:00