You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found this issue when I'm using linkify for URLs in Japanese text and the spaces in Japanese are ideographic spaces (full-width). LinkifyHtml is converting the URL and text with an ideographic space in between as one big URL instead of one URL and text.
The text I'm using:
https://google.com テスト
The Unicode for ideographic space is \u3000.
Not sure whether the other whitespaces should be treated the same as normal whitespaces, or should be considered as part of the URL.
The text was updated successfully, but these errors were encountered:
I think this problem is occurred because linkifyjs is not supported for double-byte whitespaces.
I checked if the problem still happen when I use one-byte whitespace (normal whitespace), then found nothing strange happened.
So you may be able to fix this by writing a regular expression that also takes into account double-byte whitespaces...
I found this issue when I'm using linkify for URLs in Japanese text and the spaces in Japanese are ideographic spaces (full-width). LinkifyHtml is converting the URL and text with an ideographic space in between as one big URL instead of one URL and text.
The text I'm using:
The Unicode for ideographic space is
\u3000
.Not sure whether the other whitespaces should be treated the same as normal whitespaces, or should be considered as part of the URL.
The text was updated successfully, but these errors were encountered: