Skip to content

Add support for boolean HTML attributes #26

Closed
@jugglinmike

Description

@jugglinmike

Currently, the following markup confuses CodeRay:

<textarea disabled>
  This text area has been disabled.
</textarea>

The file test1.xml hosted here has a good list of attributes that do not require a value, although there are new boolean attributes in the HTML5 spec:

  • <iframe>: seamless and sandbox (source)
  • <style>: scoped (source)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions