Closed bcullman closed 5 years ago
per the HTML specification here: https://www.w3.org/TR/html4/types.html#type-id
ID and Name tokens MUST begin with a letter ([A-Za-z])
Numbers are still valid for IDs, just not as the first character.
id = 'id' + nanoid()
I can’t remove numbers from the begging of ID in Nano ID, since it will change symbols distribution and ID will not be secure anymore.
per the HTML specification here: https://www.w3.org/TR/html4/types.html#type-id
ID and Name tokens MUST begin with a letter ([A-Za-z])
Numbers are still valid for IDs, just not as the first character.