kibicat / mastodon

A Mastodon‐compatible fediverse instance (the one used by https://glitch.cat.family).
GNU Affero General Public License v3.0
3 stars 0 forks source link

Improve ZWSP behaviour RE: emoji picker #1

Open marrus-sh opened 2 years ago

marrus-sh commented 2 years ago

Right now the emoji picker inserts a ZWSP indiscriminately after every emoji you insert. However, it is only needed between two emoji which are signified via shortcode. It would be better to only insert a ZWSP when inserting a shortcode directly after an existing shortcode, or, for simplicity, directly after a colon.