Skip to content

@ character is not escapable #1168

Open
@spixi

Description

@spixi

User Story

As a GitHub user I want to make @ characters escapable to avoid the automatic mentioning of users.

Problem

In GitHub issue comments it is not possible to escape the @ character with the backslash. This may lead to unintended mentioning of other users. It is however possible to use the grave (`@`) or the zero width space (U+200B). Since the ZWSP is hard to find after you copy a table, I do not recommend it here. I first noticed the bug this issue.

Examples

Syntax Example Expected behavior Actual behavior
@spixi @spixi mention link mention link
\@spixi @spixi no mention link mention link
`@spixi` @spixi no mention link no mention link
@​spixi with ZWSP @​spixi no mention link no mention link

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions