Skip to content

Do not require attribute quoting, like html5 2014 #353

@haraldrudell

Description

@haraldrudell

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions