Skip to content

Italics shouldn't be escaped in links #11063

@KTibow

Description

@KTibow

Which package is this bug report for?

formatters

Issue

import { escapeMarkdown } from "@discordjs/formatters"
console.log(escapeMarkdown("https://google.com/*"))
// Currently logs https://google.com/\* (will be formatted by Discord into https://google.com//*)
// Should log https://google.com/*

Versions

Happens anywhere

Issue priority

Medium (should be fixed soon)

Which partials do you have configured?

Not applicable

Which gateway intents are you subscribing to?

Not applicable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions