ai / nanoid

A tiny (124 bytes), secure, URL-friendly, unique string ID generator for JavaScript
https://zelark.github.io/nano-id-cc/
MIT License
24.62k stars 790 forks source link

Remove HTML `id` advice #316

Closed tigt closed 3 years ago

tigt commented 3 years ago

HTML5 lifted the restrictions on id values, which are now essentially any character sequence: https://mathiasbynens.be/notes/html5-id-class

This was specced about 11 years ago and made with HTML ≤4.01 backwards compatibility in mind. It should be safe to no longer worry about this.

ai commented 3 years ago

Cool! Great to know.