/
var
/
www
/
greso.tech
/
server
/
nsm
/
node_modules
/
htmlparser2
/
test
/
Events
/
/var/www/greso.tech/server/nsm/node_modules/htmlparser2/test/Events
mkdir
upload
Name
Size
Mode
Actions
01-simple.json
588
0644
edit
dl
rm
02-template.json
925
0644
edit
dl
rm
03-lowercase_tags.json
629
0644
edit
dl
rm
04-cdata.json
748
0644
edit
dl
rm
05-cdata-special.json
564
0644
edit
dl
rm
06-leading-lt.json
193
0644
edit
dl
rm
07-self-closing.json
765
0644
edit
dl
rm
08-implicit-close-tags.json
2917
0644
edit
dl
rm
09-attributes.json
1067
0644
edit
dl
rm
10-crazy-attrib.json
695
0644
edit
dl
rm
11-script_in_script.json
796
0644
edit
dl
rm
12-long-comment-end.json
719
0644
edit
dl
rm
13-long-cdata-end.json
792
0644
edit
dl
rm
14-implicit-open-tags.json
1040
0644
edit
dl
rm
15-lt-whitespace.json
213
0644
edit
dl
rm
16-double_attribs.json
625
0644
edit
dl
rm
17-numeric_entities.json
262
0644
edit
dl
rm
18-legacy_entities.json
261
0644
edit
dl
rm
19-named_entities.json
285
0644
edit
dl
rm
20-xml_entities.json
307
0644
edit
dl
rm
21-entity_in_attribute.json
710
0644
edit
dl
rm
22-double_brackets.json
606
0644
edit
dl
rm
23-legacy_entity_fail.json
220
0644
edit
dl
rm
24-special_special.json
1871
0644
edit
dl
rm
25-empty_tag_name.json
167
0644
edit
dl
rm
26-not-quite-closed.json
472
0644
edit
dl
rm
27-entities_in_attributes.json
907
0644
edit
dl
rm
28-cdata_in_html.json
203
0644
edit
dl
rm
29-comment_edge-cases.json
413
0644
edit
dl
rm
30-cdata_edge-cases.json
549
0644
edit
dl
rm
31-comment_false-ending.json
201
0644
edit
dl
rm
Edit:
/var/www/greso.tech/server/nsm/node_modules/htmlparser2/test/Events/27-entities_in_attributes.json
(907B)
{ "name": "Entities in attributes", "options": { "handler": {}, "parser": {"decodeEntities": true} }, "html": "<foo bar=& baz=\"&\" boo='&' noo=>", "expected": [ { "event": "opentagname", "data": [ "foo" ] }, { "event": "attribute", "data": [ "bar", "&" ] }, { "event": "attribute", "data": [ "baz", "&" ] }, { "event": "attribute", "data": [ "boo", "&" ] }, { "event": "attribute", "data": [ "noo", "" ] }, { "event": "opentag", "data": [ "foo", { "bar": "&", "baz": "&", "boo": "&", "noo": "" } ] }, { "event": "closetag", "data": [ "foo" ] } ] }
Save
cmd:
run