Skip to content

auto link with @ char #842

Closed
Closed

Description

@cloudcome

markdown

<http://a.com/@123>

html

<p><a href="&#109;&#97;&#x69;&#x6c;&#x74;&#x6f;&#x3a;&#x68;&#116;&#116;&#x70;&#x3a;&#x2f;&#x2f;&#97;&#46;&#x63;&#111;&#109;&#x2f;&#x40;&#x31;&#x32;&#51;">&#x68;&#116;&#116;&#x70;&#x3a;&#x2f;&#x2f;&#97;&#46;&#x63;&#111;&#109;&#x2f;&#x40;&#x31;&#x32;&#51;</a></p>

Activity

  1. Jiang-Xuan commented on Feb 10, 2017

    @Jiang-Xuan
    autolink: /^<([^ >]+(@|:\/)[^ >]+)>/
    

    This regexp cause problem.
    You should modify this regexp to after:

    autolink: /^<([^ >]+(:\/|@)[^ >]+)>/
    

    I'm from china.

  2. joshbruce commented on Dec 11, 2017

    @joshbruce
    Member

    Closed, not sure what is being asked.

    See #956

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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