Skip to content

fix: render newlines in Nova chat user messages#1061

Merged
MaheshtheDev merged 1 commit into
mainfrom
vorflux/fix-nova-chat-newlines
Jun 7, 2026
Merged

fix: render newlines in Nova chat user messages#1061
MaheshtheDev merged 1 commit into
mainfrom
vorflux/fix-nova-chat-newlines

Conversation

@vorflux
Copy link
Copy Markdown
Contributor

@vorflux vorflux Bot commented Jun 7, 2026

User messages in Nova chat were displayed on a single line because \n characters are collapsed by the browser's default whitespace handling inside a <p> element.

Changes:

  • Added whitespace-pre-wrap to the user message <p> element in user-message.tsx so newlines in user input render as actual line breaks.

Testing

  • Visually: send a multi-line message in Nova chat — each newline now renders as a new line.
  • No automated tests run (trivial CSS class addition, no logic changed).

Session Details

@graphite-app graphite-app Bot requested a review from Dhravya June 7, 2026 05:04
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
supermemory-mcp 2717cae Jun 07 2026, 05:05 AM

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
supermemory-app 2717cae Commit Preview URL

Branch Preview URL
Jun 07 2026, 05:06 AM

@MaheshtheDev MaheshtheDev merged commit 428d3cc into main Jun 7, 2026
7 of 8 checks passed
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