Simplify directive nodes
wooorm opened this issue · comments
Titus commented
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.