From 26105034da4fcce7ac883c899d781f016559310d Mon Sep 17 00:00:00 2001 From: ruki Date: Thu, 8 Nov 2018 00:38:48 +0800 Subject: switch to vuepress --- .../test/Events/11-script_in_script.json | 54 ++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 node_modules/htmlparser2/test/Events/11-script_in_script.json (limited to 'node_modules/htmlparser2/test/Events/11-script_in_script.json') diff --git a/node_modules/htmlparser2/test/Events/11-script_in_script.json b/node_modules/htmlparser2/test/Events/11-script_in_script.json new file mode 100644 index 00000000..ddbb87c8 --- /dev/null +++ b/node_modules/htmlparser2/test/Events/11-script_in_script.json @@ -0,0 +1,54 @@ +{ + "name": "Scripts creating other scripts", + "options": { + "handler": {}, + "parser": {} + }, + "html": "

", + "expected": [ + { + "event": "opentagname", + "data": [ + "p" + ] + }, + { + "event": "opentag", + "data": [ + "p", + {} + ] + }, + { + "event": "opentagname", + "data": [ + "script" + ] + }, + { + "event": "opentag", + "data": [ + "script", + {} + ] + }, + { + "event": "text", + "data": [ + "var str = '