Mastodon: hashtag's link text range is incorrect in the Web UI

Created on 8 Feb 2019  Â·  1Comment  Â·  Source: tootsuite/mastodon

After #8447 has been merged, it seems incorrect processing of hashtags including multibyte characters such as the following in WebUI.
https://taruntarun.net/@mayaeh/101557400350655981.json
It recognized the entire "testテスト" as a hashtag, but "テスト" does not become a link.

However, it seems to be no problem with a hashtag composed only of multibyte characters.

Expected behaviour

I think it should be as follows:
https://edge.taruntarun.net/@mayaeh/101557496224395192

Actual behaviour

https://taruntarun.net/@mayaeh/101557400350655981

Steps to reproduce the problem

Post a hashtag combining single byte alphanumeric characters and multibyte characters.

Specifications

Equivalent to master branch

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cumbiame picture cumbiame  Â·  3Comments

thomaskuntzz picture thomaskuntzz  Â·  3Comments

hidrarga picture hidrarga  Â·  3Comments

golbette picture golbette  Â·  3Comments

flukejones picture flukejones  Â·  3Comments