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
Very interesting, thank you for opening an issue. Looks like the AttributedString merges the runs into one in that case, but with the emoji shortcode twice.
There doesn't seem to be a direct way to access the raw string (mastodonmastodon) from AttributedString, but I found a workaround that I'm not 100% sure about, but its already available on the main branch.
If the same Emoji is lined up as follows, only one will be displayed.
EmojiText(markdown: "Hello :mastodon: :mastodon:", emojis: emojis)
I can work around this by specifying
.emojiOmitSpacesBetweenEmojis(false)
, but is this behavior expected?The text was updated successfully, but these errors were encountered: