08-27-周三_17-09-29
This commit is contained in:
19
node_modules/domhandler/test/cases/13-comment_in_text.json
generated
vendored
Normal file
19
node_modules/domhandler/test/cases/13-comment_in_text.json
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "Comment within text",
|
||||
"options": {},
|
||||
"html": "this is <!-- the comment --> the text",
|
||||
"expected": [
|
||||
{
|
||||
"data": "this is ",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"data": " the comment ",
|
||||
"type": "comment"
|
||||
},
|
||||
{
|
||||
"data": " the text",
|
||||
"type": "text"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user