We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac35c33 commit 33caddcCopy full SHA for 33caddc
lib/emoji/character.rb
@@ -51,7 +51,7 @@ def raw_skin_tone_variants
51
SKIN_TONES.map do |modifier|
52
if idx
53
# insert modifier before zero-width joiner
54
- raw_normalized[...idx] + modifier + raw_normalized[idx..]
+ raw_normalized[0...idx] + modifier + raw_normalized[idx..nil]
55
else
56
raw_normalized + modifier
57
end
0 commit comments