08-27-周三_17-09-29
This commit is contained in:
20
node_modules/domhandler/test/cases/09-unquoted_attrib.json
generated
vendored
Normal file
20
node_modules/domhandler/test/cases/09-unquoted_attrib.json
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"name": "Unquoted attributes",
|
||||
"options": {},
|
||||
"html": "<font size= 14>the text</font>",
|
||||
"expected": [
|
||||
{
|
||||
"type": "tag",
|
||||
"name": "font",
|
||||
"attribs": {
|
||||
"size": "14"
|
||||
},
|
||||
"children": [
|
||||
{
|
||||
"data": "the text",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user