Skip to content

fix: preserve line breaks in user messages#800

Merged
miurla merged 1 commit into
mainfrom
fix/user-message-line-breaks
Apr 8, 2026
Merged

fix: preserve line breaks in user messages#800
miurla merged 1 commit into
mainfrom
fix/user-message-line-breaks

Conversation

@miurla
Copy link
Copy Markdown
Owner

@miurla miurla commented Apr 8, 2026

Summary

  • Add whitespace-pre-wrap to user message display so newlines are preserved
  • Previously, multiline user messages were collapsed into a single line (e.g., "hello,\nwhat is python" → "hello, what is python")

Test plan

  • Send a multiline message and verify line breaks are displayed correctly
  • Verify edited messages also preserve line breaks

Add whitespace-pre-wrap to user text display so newlines entered by
users are rendered correctly instead of being collapsed into a single line.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
morphic Ready Ready Preview, Comment Apr 8, 2026 7:59am

@miurla miurla merged commit 1c33221 into main Apr 8, 2026
8 checks passed
@miurla miurla deleted the fix/user-message-line-breaks branch April 8, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant