Skip to content

Simplify directive nodes #5

Closed
Closed
@wooorm

Description

@wooorm

Currently, there’s duplicate data in directives (processing instructions and declarations):

{
  "type": "directive",
  "name": "!doctype",
  "value": "!doctype html"
}

I’d like to propose the following instead:

{
  "type": "directive",
  "name": "!doctype",
  "value": "html"
}

But it’s breaking so it will have to wait a while.

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