mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-18 16:31:44 +00:00
* 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>