Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links preceded by emojis are not rendered #108

Open
Stormtv opened this issue Jan 2, 2023 · 0 comments
Open

Links preceded by emojis are not rendered #108

Stormtv opened this issue Jan 2, 2023 · 0 comments

Comments

@Stormtv
Copy link

Stormtv commented Jan 2, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant