lib/prawn/emoji/image.rb in prawn-emoji-1.0.2 vs lib/prawn/emoji/image.rb in prawn-emoji-2.0.0
- old
+ new
@@ -20,10 +20,10 @@
end
private
def codepoint
- @codepoint ||= @unicode.codepoints.map { |c| '%04x' % c.to_s }.join.upcase
+ @codepoint ||= @unicode.codepoints.map { |c| '%04x' % c.to_s }.join('-').downcase
end
end
end
end