Open
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and Parse Dashboard.
Issue Description
When showing a multi line text in info panel, the line breaks are lost, and text is rendered as a single line.
Steps to reproduce
Setup info panel on a collection, and return following from the cloud function:
{
panel: {
segments: [
{
title: "User Info",
items: [
{
type: "text",
text: `
line 1
line 2`,
},
],
},
],
},
}
Actual Outcome
Besides the line breaks, text is wrapped into single line.
Expected Outcome
I would expect line breaks to be preserved.
Environment
Dashboard
- Parse Dashboard version:
6.0.0-alpha.28
- Browser (Safari, Chrome, Firefox, Edge, etc.):
Chrome
- Browser version:
131.0.6778.205 (Official Build) (arm64)
Server
- Parse Server version:
any
- Operating system:
any
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
local
Database
- System (MongoDB or Postgres):
any
- Database version:
any
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
any