Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text formatting doesn't work for multiline text #33065

Open
mueller-ma opened this issue Aug 15, 2024 · 1 comment
Open

Text formatting doesn't work for multiline text #33065

mueller-ma opened this issue Aug 15, 2024 · 1 comment
Labels
Tasked Added to the internal issue tracking type: bug

Comments

@mueller-ma
Copy link

Description:

When a text contains a newline the built-in text formatting buttons don't work:

grafik

Steps to reproduce:

  1. Enter the following text in the new message field:
This is
a test
  1. Mark both lines
  2. Press the "B" (bold) button
  3. The text becomes:
*This is
a test*
  1. Send message

Expected behavior:

The button should change the text to:

grafik

*This is*
*a test*

Actual behavior:

See above.

Server Setup Information:

  • Version of Rocket.Chat Server: 6.10.2
  • License Type: Community
  • Deployment Method: Docker

Client Setup Information

  • Desktop App or Browser Version: Desktop App 4.0.0
  • Operating System: Windows 10
@reetp
Copy link

reetp commented Aug 17, 2024

Thanks for reporting.

As I mentioned in #33067 as per the docs please always test on the latest version before reporting as Rocket.Chat is fast moving and things are often fixed in newer versions.

I'd also update your own version to the latest - there is a security fix in there IIRC.

https://github.com/RocketChat/Rocket.Chat/releases/tag/6.10.4

I have tested this on open.rocket.chat which is always 'latest' and I can see it occurring.

I'll mention it to the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tasked Added to the internal issue tracking type: bug
Projects
None yet
Development

No branches or pull requests

2 participants