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

Zero-width space with URL is not separeted #6338

Open
2 tasks done
tribela opened this issue Jan 23, 2018 · 1 comment
Open
2 tasks done

Zero-width space with URL is not separeted #6338

tribela opened this issue Jan 23, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@tribela
Copy link
Contributor

tribela commented Jan 23, 2018

In Korean (and some other languages), We have not to add space between noun and postpositional part.
For example:
커피숍에서 (커피숍 = Coffeeshop, 에서 = at)

So I use U+200B(zero-width space) to separate URL part like "http://test.com/<200b>에서"(It means "at http://test.com"). Most times smart link doesn't recognise that as part of URL.
But in Mastodon, I tried U+200B and U+FEFF(It also zero-width space), But it doesn't separate link and normal text part.

Meanwhile, hashtag was separeted with zero width space (toot link here):
image
(Hashtag was separated, But not URL)
I also tried U+000B(vertical tab, But usally used for this kind of job), It works fine in Firefox, But it renderd incorrectly in Chrome. (toot link here)
image
Vertical tab character is rendered as ♂(U+2642 male symbol).


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
  • This bug happens on a tagged release and not on master (If you're a user, don't worry about this).
@Gargron Gargron added the bug Something isn't working label Oct 20, 2018
@D-side
Copy link

D-side commented May 3, 2023

Still valid, just encountered this in an entirely different manner: copied my other toot (in Russian) using Tusky and in the process somehow accidentally inserted a zero-width space at the end of the URL, which was picked up by Mastodon as part of the link destination and, well, broke the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants