You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
What would be a solution to this? On one hand the data should be escaped to not put the burden on the developer. On the other hand how should they enter a line-break? I suggest to add an option the text item where the text is not escaped at all and just displayed as is. That would even allow for style tags<b> or lists <ul>. Could be risky though, if the data displayed is data from a user and that data includes malicious code. But we could add a warning label to that option.
New Issue Checklist
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:
Actual Outcome
Besides the line breaks, text is wrapped into single line.
Expected Outcome
I would expect line breaks to be preserved.
Environment
Dashboard
6.0.0-alpha.28
Chrome
131.0.6778.205 (Official Build) (arm64)
Server
any
any
local
Database
any
any
any
Logs
The text was updated successfully, but these errors were encountered: