Skip to content

$ money amounts don't create links, but % still does #26771

@dletter

Description

@dletter

Description:

If you type $77.77, it comes up normally in chat.

If you type 77.77% , it makes a link for "77.77" , which could be to something you wouldn't want to link somebody to.

Percents should be not created into links, just like money amounts are not.

Steps to reproduce:

Type 88.88% , hit enter.

Expected behavior:

No link should be generated.

Actual behavior:

Creates a link.

Server Setup Information:

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:

Client Setup Information

  • Desktop App or Browser Version:
  • Operating System:

Additional context

Relevant logs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ui/uxRelated to UI/UX, frontend code, accessibility, and user interactionmessage rendering

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions