Skip to content

Fuzzy emails ignore the TLD list since 6.0.0 #123

Description

@davidtaylorhq

Since 6.0.0, bare emails are linkified regardless of TLD.

import { LinkifyIt } from "linkify-it";

new LinkifyIt().test("user@example.badtld"); // 6.1.0: true, 5.0.2: false
new LinkifyIt().test("www.example.badtld");  // false on both

.tlds([...]) makes no difference for emails.

I think the regression is in d4a73a4

Potential fix opened at #124

Activity

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