Skip to content
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

Do not require attribute quoting, like html5 2014 #353

Open
haraldrudell opened this issue Dec 29, 2017 · 1 comment
Open

Do not require attribute quoting, like html5 2014 #353

haraldrudell opened this issue Dec 29, 2017 · 1 comment

Comments

@haraldrudell
Copy link

haraldrudell commented Dec 29, 2017

html5 removed the requirement for quoting attribute values in most cases back in 2014, 3 years ago. JSX should do the same.

   Suggestion:
<html lang=en id=facebook class="tinyViewport tinyWidth">
   Previously
<html lang="en" id="facebook" class="tinyViewport tinyWidth">

  • Quoting cannot be avoided if attribute values contain space
    and I think:
    • " ' = > < `
    • unicode: quotation mark, apostrophe, equal sign, greater-than sign, less-than sign, grave accent
@alex-kinokon
Copy link

@haraldrudell Wrong repo. You are looking for facebook/jsx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants