-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
allow XML tag names #543
allow XML tag names #543
Conversation
Hm, do all browsers parse/tolerate it well? |
I've come across quite a few projects with these weird tag names - but yes, may be they all hit a brick wall at some point when they discover some browser breakage. I will test against different browsers and report back. |
Both IE11 and Chrome (48 on Android) seems to be happy with this:
in that they both give me a pop-up with |
@mathias do you know of any problems with this? Safe to add? |
Whoops, I meant @mathiasbynens |
This is an improvement but it’s still not fully accurate. The relevant production is Custom element names (validator) have some further requirements (like |
Didn't know modules with a bunch of I'll give this (or xml-char-classes) a go and see if I can implement this |
@mathiasbynens @kangax done - added browserified module for online version as well, with fallback when module isn't available. |
Taking the XML specification and restrict it to within ASCII range, which seems reasonable enough a compromise until somebody wants their native language or emojis as tag names 🙈