Closed ghost closed 3 years ago
It seems that this does not work as intended.
Not sure why this throws the slice out of bounds error.
Could it be that Emojis cause this issue?
Here are some example Emoji Unicode examples
https://unicode.org/emoji/charts/full-emoji-list.html
Any idea how we could support this if we encounter Emojis?
In some cases this code throws an out of bounds error when trying to add padding.
Error:
panic: runtime error: slice bounds out of range [5:4]