19 lines
312 B
JSON
19 lines
312 B
JSON
|
{
|
||
|
"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"
|
||
|
}
|
||
|
]
|
||
|
}
|