Skip to content

Links preceded by emojis are not renderedΒ #108

@Stormtv

Description

@Stormtv

Playground Link: http://markdown-it.github.io/linkify-it/#t1=%F0%9F%9A%80https%3A%2F%2Fgoogle.com%0A%0A%F0%9F%9A%80%20https%3A%2F%2Fgoogle.com

Potential fix could be to add \p{Extended_Pictographic} into the schema_test & schema_match

self.re.schema_test = RegExp('(^|(?!_)(?:[><\uff5c]|' + re.src_ZPCc + '))(' + slist + ')', 'i');

self.re.schema_test = RegExp('(^|(?!_)(?:[><\uff5c]|[\p{Extended_Pictographic}]|' + re.src_ZPCc + '))(' + slist + ')', 'i');


I personally think this is strange to match on this but it matches the functionality of other social media sites.

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