davidshimjs/qrcodejs

Fails to generate qr codes for this string

sonicmouse opened this issue · 0 comments

This fails:
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghij

If you keep typing the alphabet it will keep failing, but then start working again at this point:
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrsyuvwxyzabcdefghij

So between those to lengths, the barcode generator completely fails using this code:
new QRCode(document.getElementById("qrcode"), qrCodeText);