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

Unexpected Markdown Behavior in Custom Status: Bold Formatting Not Working as Expected #32081

Closed
CyberStranger opened this issue Mar 27, 2024 · 1 comment · Fixed by #32574 or #33157
Closed

Comments

@CyberStranger
Copy link

Description:

When setting a Custom Status in RocketChat, I am experiencing unexpected behavior with markdown formatting for bold text. Traditionally, in message fields, wrapping a word in asterisks (*) makes it bold, and wrapping it in underscores (_) makes it italic. However, this expected behavior is not consistent when applying the same formats in Custom Status.

Steps to reproduce:

  1. Go to 'Profile' and select 'Custom Status'.
  2. In the Custom Status field, try to format a word as bold by wrapping it in single asterisks (*) - expecting the word to appear bold.
  3. For italic text, wrap a word in underscores (_) and observe the formatting.
    set_custom_status

Expected behavior:

  • Text wrapped in asterisks (*) should appear bold.
  • Text wrapped in underscores (_) should appear italic.

Actual behavior:

  • Text wrapped in single asterisks (*) unexpectedly appears as italic instead of bold.
  • Text wrapped in underscores (_) correctly appears as italic.
  • Strikethrough formatting works as expected when text is wrapped in tildes (~).
  • Text only becomes bold when wrapped in double underscores (__).
    actual_status

Server Setup Information:

  • Version of Rocket.Chat Server: 6.6.3, 6.5.2
  • Operating System: Linux
  • Deployment Method: Docker
  • Number of Running Instances: 20
  • DB Replicaset Oplog: Yes
  • NodeJS Version: v14.21.3
  • MongoDB Version: 5.0.15 / wiredTiger

Client Setup Information

  • Desktop App or Browser Version: RocketChat Electron 3.9.9, RocketChat Electron 3.9.14, Google Chrome 122, Mozilla Firefox 115.8.0ESR
  • Operating System: Microsoft Windows 10, Debian 12 Bookworm

Additional context

Relevant logs:

@reetp
Copy link

reetp commented Jun 5, 2024

Still seems to occur on open.rocket.chat.

I will ask someone to take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants