Open Kikobeats opened 6 years ago
I was experimented with add punycode support at microlink but when I pass the text into nanoclamp component (something like 😻🍕.ws) it can't calculate the size properly
😻🍕.ws
reproducible code
const punycode = require('punycode') const input = 'xn--vi8hl0c.ws' const output = punycode.decode(input) console.log(output)
Related: https://github.com/gajus/punycode-url
I was experimented with add punycode support at microlink but when I pass the text into nanoclamp component (something like
😻🍕.ws
) it can't calculate the size properlyreproducible code