{
    "tests": [
        {
            "description": "<!doctype html><script>",
            "input": "<!doctype html><script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ]
            ]
        },
        {
            "description": "<!doctype html><script>a",
            "input": "<!doctype html><script>a",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "a"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><",
            "input": "<!doctype html><script><",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></",
            "input": "<!doctype html><script></",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></S",
            "input": "<!doctype html><script></S",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</S"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></SC",
            "input": "<!doctype html><script></SC",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SC"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></SCR",
            "input": "<!doctype html><script></SCR",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SCR"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></SCRI",
            "input": "<!doctype html><script></SCRI",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SCRI"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></SCRIP",
            "input": "<!doctype html><script></SCRIP",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SCRIP"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></SCRIPT",
            "input": "<!doctype html><script></SCRIPT",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SCRIPT"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></SCRIPT ",
            "input": "<!doctype html><script></SCRIPT ",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ]
            ]
        },
        {
            "description": "<!doctype html><script></s",
            "input": "<!doctype html><script></s",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</s"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></sc",
            "input": "<!doctype html><script></sc",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</sc"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></scr",
            "input": "<!doctype html><script></scr",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</scr"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></scri",
            "input": "<!doctype html><script></scri",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</scri"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></scrip",
            "input": "<!doctype html><script></scrip",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</scrip"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></script",
            "input": "<!doctype html><script></script",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script></script ",
            "input": "<!doctype html><script></script ",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!",
            "input": "<!doctype html><script><!",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!a",
            "input": "<!doctype html><script><!a",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!a"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!-",
            "input": "<!doctype html><script><!-",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!-"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!-a",
            "input": "<!doctype html><script><!-a",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!-a"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--",
            "input": "<!doctype html><script><!--",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--a",
            "input": "<!doctype html><script><!--a",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--a"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<",
            "input": "<!doctype html><script><!--<",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<a",
            "input": "<!doctype html><script><!--<a",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<a"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--</",
            "input": "<!doctype html><script><!--</",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--</"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--</script",
            "input": "<!doctype html><script><!--</script",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--</script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--</script ",
            "input": "<!doctype html><script><!--</script ",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<s",
            "input": "<!doctype html><script><!--<s",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<s"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script",
            "input": "<!doctype html><script><!--<script",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script ",
            "input": "<!doctype html><script><!--<script ",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script "
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script <",
            "input": "<!doctype html><script><!--<script <",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script <"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script <a",
            "input": "<!doctype html><script><!--<script <a",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script <a"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </",
            "input": "<!doctype html><script><!--<script </",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </s",
            "input": "<!doctype html><script><!--<script </s",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </s"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script",
            "input": "<!doctype html><script><!--<script </script",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </scripta",
            "input": "<!doctype html><script><!--<script </scripta",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </scripta"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script ",
            "input": "<!doctype html><script><!--<script </script ",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script "
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script>",
            "input": "<!doctype html><script><!--<script </script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script>"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script/",
            "input": "<!doctype html><script><!--<script </script/",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script/"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script <",
            "input": "<!doctype html><script><!--<script </script <",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script <"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script <a",
            "input": "<!doctype html><script><!--<script </script <a",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script <a"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script </",
            "input": "<!doctype html><script><!--<script </script </",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script </"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script </script",
            "input": "<!doctype html><script><!--<script </script </script",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script </script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script </script ",
            "input": "<!doctype html><script><!--<script </script </script ",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script "
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script </script/",
            "input": "<!doctype html><script><!--<script </script </script/",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script "
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script </script </script>",
            "input": "<!doctype html><script><!--<script </script </script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script "
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script -",
            "input": "<!doctype html><script><!--<script -",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script -a",
            "input": "<!doctype html><script><!--<script -a",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -a"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script -<",
            "input": "<!doctype html><script><!--<script -<",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -<"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script --",
            "input": "<!doctype html><script><!--<script --",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script --a",
            "input": "<!doctype html><script><!--<script --a",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --a"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script --<",
            "input": "<!doctype html><script><!--<script --<",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --<"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script -->",
            "input": "<!doctype html><script><!--<script -->",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -->"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script --><",
            "input": "<!doctype html><script><!--<script --><",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --><"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script --></",
            "input": "<!doctype html><script><!--<script --></",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --></"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script --></script",
            "input": "<!doctype html><script><!--<script --></script",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --></script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script --></script ",
            "input": "<!doctype html><script><!--<script --></script ",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -->"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script --></script/",
            "input": "<!doctype html><script><!--<script --></script/",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -->"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script --></script>",
            "input": "<!doctype html><script><!--<script --></script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script><\\/script>--></script>",
            "input": "<!doctype html><script><!--<script><\\/script>--></script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script><\\/script>-->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script></scr'+'ipt>--></script>",
            "input": "<!doctype html><script><!--<script></scr'+'ipt>--></script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></scr'+'ipt>-->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script></script><script></script></script>",
            "input": "<!doctype html><script><!--<script></script><script></script></script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script></script><script></script>--><!--</script>",
            "input": "<!doctype html><script><!--<script></script><script></script>--><!--</script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>--><!--"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script></script><script></script>-- ></script>",
            "input": "<!doctype html><script><!--<script></script><script></script>-- ></script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>-- >"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script></script><script></script>- -></script>",
            "input": "<!doctype html><script><!--<script></script><script></script>- -></script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>- ->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script></script><script></script>- - ></script>",
            "input": "<!doctype html><script><!--<script></script><script></script>- - ></script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>- - >"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script></script><script></script>-></script>",
            "input": "<!doctype html><script><!--<script></script><script></script>-></script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script>--!></script>X",
            "input": "<!doctype html><script><!--<script>--!></script>X",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script>--!></script>X"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<scr'+'ipt></script>--></script>",
            "input": "<!doctype html><script><!--<scr'+'ipt></script>--></script>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<scr'+'ipt>"
                ],
                [
                    "EndTag",
                    "script"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<!doctype html><script><!--<script></scr'+'ipt></script>X",
            "input": "<!doctype html><script><!--<script></scr'+'ipt></script>X",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></scr'+'ipt></script>X"
                ]
            ]
        },
        {
            "description": "<!doctype html><style><!--<style></style>--></style>",
            "input": "<!doctype html><style><!--<style></style>--></style>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--<style>"
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<!doctype html><style><!--</style>X",
            "input": "<!doctype html><style><!--</style>X",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "X"
                ]
            ]
        },
        {
            "description": "<!doctype html><style><!--...</style>...--></style>",
            "input": "<!doctype html><style><!--...</style>...--></style>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--..."
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "...-->"
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<!doctype html><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
            "input": "<!doctype html><style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>"
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "X"
                ]
            ]
        },
        {
            "description": "<!doctype html><style><!--...<style><!--...--!></style>--></style>",
            "input": "<!doctype html><style><!--...<style><!--...--!></style>--></style>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--...<style><!--...--!>"
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<!doctype html><style><!--...</style><!-- --><style>@import ...</style>",
            "input": "<!doctype html><style><!--...</style><!-- --><style>@import ...</style>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--..."
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Comment",
                    " "
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "@import ..."
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<!doctype html><style>...<style><!--...</style><!-- --></style>",
            "input": "<!doctype html><style>...<style><!--...</style><!-- --></style>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "...<style><!--..."
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Comment",
                    " "
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<!doctype html><style>...<!--[if IE]><style>...</style>X",
            "input": "<!doctype html><style>...<!--[if IE]><style>...</style>X",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "...<!--[if IE]><style>..."
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "X"
                ]
            ]
        },
        {
            "description": "<!doctype html><title><!--<title></title>--></title>",
            "input": "<!doctype html><title><!--<title></title>--></title>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    "<!--<title>"
                ],
                [
                    "EndTag",
                    "title"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "title"
                ]
            ]
        },
        {
            "description": "<!doctype html><title>&lt;/title></title>",
            "input": "<!doctype html><title>&lt;/title></title>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    "</title>"
                ],
                [
                    "EndTag",
                    "title"
                ]
            ]
        },
        {
            "description": "<!doctype html><title>foo/title><link></head><body>X",
            "input": "<!doctype html><title>foo/title><link></head><body>X",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    "foo/title><link></head><body>X"
                ]
            ]
        },
        {
            "description": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
            "input": "<!doctype html><noscript><!--<noscript></noscript>--></noscript>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "noscript",
                    {}
                ],
                [
                    "Character",
                    "<!--<noscript>"
                ],
                [
                    "EndTag",
                    "noscript"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "noscript"
                ]
            ]
        },
        {
            "description": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
            "input": "<!doctype html><noscript><!--</noscript>X<noscript>--></noscript>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "noscript",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ],
                [
                    "EndTag",
                    "noscript"
                ],
                [
                    "Character",
                    "X"
                ],
                [
                    "StartTag",
                    "noscript",
                    {}
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "noscript"
                ]
            ]
        },
        {
            "description": "<!doctype html><noscript><iframe></noscript>X",
            "input": "<!doctype html><noscript><iframe></noscript>X",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "noscript",
                    {}
                ],
                [
                    "Character",
                    "<iframe>"
                ],
                [
                    "EndTag",
                    "noscript"
                ],
                [
                    "Character",
                    "X"
                ]
            ]
        },
        {
            "description": "<!doctype html><noframes><!--<noframes></noframes>--></noframes>",
            "input": "<!doctype html><noframes><!--<noframes></noframes>--></noframes>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "noframes",
                    {}
                ],
                [
                    "Character",
                    "<!--<noframes>"
                ],
                [
                    "EndTag",
                    "noframes"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "noframes"
                ]
            ]
        },
        {
            "description": "<!doctype html><noframes><body><script><!--...</script></body></noframes></html>",
            "input": "<!doctype html><noframes><body><script><!--...</script></body></noframes></html>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "noframes",
                    {}
                ],
                [
                    "Character",
                    "<body><script><!--...</script></body>"
                ],
                [
                    "EndTag",
                    "noframes"
                ],
                [
                    "EndTag",
                    "html"
                ]
            ]
        },
        {
            "description": "<!doctype html><textarea><!--<textarea></textarea>--></textarea>",
            "input": "<!doctype html><textarea><!--<textarea></textarea>--></textarea>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "textarea",
                    {}
                ],
                [
                    "Character",
                    "<!--<textarea>"
                ],
                [
                    "EndTag",
                    "textarea"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "textarea"
                ]
            ]
        },
        {
            "description": "<!doctype html><textarea>&lt;/textarea></textarea>",
            "input": "<!doctype html><textarea>&lt;/textarea></textarea>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "textarea",
                    {}
                ],
                [
                    "Character",
                    "</textarea>"
                ],
                [
                    "EndTag",
                    "textarea"
                ]
            ]
        },
        {
            "description": "<!doctype html><textarea>&lt;</textarea>",
            "input": "<!doctype html><textarea>&lt;</textarea>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "textarea",
                    {}
                ],
                [
                    "Character",
                    "<"
                ],
                [
                    "EndTag",
                    "textarea"
                ]
            ]
        },
        {
            "description": "<!doctype html><textarea>a&lt;b</textarea>",
            "input": "<!doctype html><textarea>a&lt;b</textarea>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "textarea",
                    {}
                ],
                [
                    "Character",
                    "a<b"
                ],
                [
                    "EndTag",
                    "textarea"
                ]
            ]
        },
        {
            "description": "<!doctype html><iframe><!--<iframe></iframe>--></iframe>",
            "input": "<!doctype html><iframe><!--<iframe></iframe>--></iframe>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "iframe",
                    {}
                ],
                [
                    "Character",
                    "<!--<iframe>"
                ],
                [
                    "EndTag",
                    "iframe"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "iframe"
                ]
            ]
        },
        {
            "description": "<!doctype html><iframe>...<!--X->...<!--/X->...</iframe>",
            "input": "<!doctype html><iframe>...<!--X->...<!--/X->...</iframe>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "iframe",
                    {}
                ],
                [
                    "Character",
                    "...<!--X->...<!--/X->..."
                ],
                [
                    "EndTag",
                    "iframe"
                ]
            ]
        },
        {
            "description": "<!doctype html><xmp><!--<xmp></xmp>--></xmp>",
            "input": "<!doctype html><xmp><!--<xmp></xmp>--></xmp>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "xmp",
                    {}
                ],
                [
                    "Character",
                    "<!--<xmp>"
                ],
                [
                    "EndTag",
                    "xmp"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "xmp"
                ]
            ]
        },
        {
            "description": "<!doctype html><noembed><!--<noembed></noembed>--></noembed>",
            "input": "<!doctype html><noembed><!--<noembed></noembed>--></noembed>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "noembed",
                    {}
                ],
                [
                    "Character",
                    "<!--<noembed>"
                ],
                [
                    "EndTag",
                    "noembed"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "noembed"
                ]
            ]
        },
        {
            "description": "<script>",
            "input": "<script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ]
            ]
        },
        {
            "description": "<script>a",
            "input": "<script>a",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "a"
                ]
            ]
        },
        {
            "description": "<script><",
            "input": "<script><",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<"
                ]
            ]
        },
        {
            "description": "<script></",
            "input": "<script></",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</"
                ]
            ]
        },
        {
            "description": "<script></S",
            "input": "<script></S",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</S"
                ]
            ]
        },
        {
            "description": "<script></SC",
            "input": "<script></SC",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SC"
                ]
            ]
        },
        {
            "description": "<script></SCR",
            "input": "<script></SCR",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SCR"
                ]
            ]
        },
        {
            "description": "<script></SCRI",
            "input": "<script></SCRI",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SCRI"
                ]
            ]
        },
        {
            "description": "<script></SCRIP",
            "input": "<script></SCRIP",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SCRIP"
                ]
            ]
        },
        {
            "description": "<script></SCRIPT",
            "input": "<script></SCRIPT",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</SCRIPT"
                ]
            ]
        },
        {
            "description": "<script></SCRIPT ",
            "input": "<script></SCRIPT ",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ]
            ]
        },
        {
            "description": "<script></s",
            "input": "<script></s",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</s"
                ]
            ]
        },
        {
            "description": "<script></sc",
            "input": "<script></sc",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</sc"
                ]
            ]
        },
        {
            "description": "<script></scr",
            "input": "<script></scr",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</scr"
                ]
            ]
        },
        {
            "description": "<script></scri",
            "input": "<script></scri",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</scri"
                ]
            ]
        },
        {
            "description": "<script></scrip",
            "input": "<script></scrip",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</scrip"
                ]
            ]
        },
        {
            "description": "<script></script",
            "input": "<script></script",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "</script"
                ]
            ]
        },
        {
            "description": "<script></script ",
            "input": "<script></script ",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ]
            ]
        },
        {
            "description": "<script><!",
            "input": "<script><!",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!"
                ]
            ]
        },
        {
            "description": "<script><!a",
            "input": "<script><!a",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!a"
                ]
            ]
        },
        {
            "description": "<script><!-",
            "input": "<script><!-",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!-"
                ]
            ]
        },
        {
            "description": "<script><!-a",
            "input": "<script><!-a",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!-a"
                ]
            ]
        },
        {
            "description": "<script><!--",
            "input": "<script><!--",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ]
            ]
        },
        {
            "description": "<script><!--a",
            "input": "<script><!--a",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--a"
                ]
            ]
        },
        {
            "description": "<script><!--<",
            "input": "<script><!--<",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<"
                ]
            ]
        },
        {
            "description": "<script><!--<a",
            "input": "<script><!--<a",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<a"
                ]
            ]
        },
        {
            "description": "<script><!--</",
            "input": "<script><!--</",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--</"
                ]
            ]
        },
        {
            "description": "<script><!--</script",
            "input": "<script><!--</script",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--</script"
                ]
            ]
        },
        {
            "description": "<script><!--</script ",
            "input": "<script><!--</script ",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ]
            ]
        },
        {
            "description": "<script><!--<s",
            "input": "<script><!--<s",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<s"
                ]
            ]
        },
        {
            "description": "<script><!--<script",
            "input": "<script><!--<script",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script"
                ]
            ]
        },
        {
            "description": "<script><!--<script ",
            "input": "<script><!--<script ",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script "
                ]
            ]
        },
        {
            "description": "<script><!--<script <",
            "input": "<script><!--<script <",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script <"
                ]
            ]
        },
        {
            "description": "<script><!--<script <a",
            "input": "<script><!--<script <a",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script <a"
                ]
            ]
        },
        {
            "description": "<script><!--<script </",
            "input": "<script><!--<script </",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </"
                ]
            ]
        },
        {
            "description": "<script><!--<script </s",
            "input": "<script><!--<script </s",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </s"
                ]
            ]
        },
        {
            "description": "<script><!--<script </script",
            "input": "<script><!--<script </script",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script"
                ]
            ]
        },
        {
            "description": "<script><!--<script </scripta",
            "input": "<script><!--<script </scripta",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </scripta"
                ]
            ]
        },
        {
            "description": "<script><!--<script </script ",
            "input": "<script><!--<script </script ",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script "
                ]
            ]
        },
        {
            "description": "<script><!--<script </script>",
            "input": "<script><!--<script </script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script>"
                ]
            ]
        },
        {
            "description": "<script><!--<script </script/",
            "input": "<script><!--<script </script/",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script/"
                ]
            ]
        },
        {
            "description": "<script><!--<script </script <",
            "input": "<script><!--<script </script <",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script <"
                ]
            ]
        },
        {
            "description": "<script><!--<script </script <a",
            "input": "<script><!--<script </script <a",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script <a"
                ]
            ]
        },
        {
            "description": "<script><!--<script </script </",
            "input": "<script><!--<script </script </",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script </"
                ]
            ]
        },
        {
            "description": "<script><!--<script </script </script",
            "input": "<script><!--<script </script </script",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script </script"
                ]
            ]
        },
        {
            "description": "<script><!--<script </script </script ",
            "input": "<script><!--<script </script </script ",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script "
                ]
            ]
        },
        {
            "description": "<script><!--<script </script </script/",
            "input": "<script><!--<script </script </script/",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script "
                ]
            ]
        },
        {
            "description": "<script><!--<script </script </script>",
            "input": "<script><!--<script </script </script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script </script "
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script -",
            "input": "<script><!--<script -",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -"
                ]
            ]
        },
        {
            "description": "<script><!--<script -a",
            "input": "<script><!--<script -a",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -a"
                ]
            ]
        },
        {
            "description": "<script><!--<script --",
            "input": "<script><!--<script --",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --"
                ]
            ]
        },
        {
            "description": "<script><!--<script --a",
            "input": "<script><!--<script --a",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --a"
                ]
            ]
        },
        {
            "description": "<script><!--<script -->",
            "input": "<script><!--<script -->",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -->"
                ]
            ]
        },
        {
            "description": "<script><!--<script --><",
            "input": "<script><!--<script --><",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --><"
                ]
            ]
        },
        {
            "description": "<script><!--<script --></",
            "input": "<script><!--<script --></",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --></"
                ]
            ]
        },
        {
            "description": "<script><!--<script --></script",
            "input": "<script><!--<script --></script",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script --></script"
                ]
            ]
        },
        {
            "description": "<script><!--<script --></script ",
            "input": "<script><!--<script --></script ",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -->"
                ]
            ]
        },
        {
            "description": "<script><!--<script --></script/",
            "input": "<script><!--<script --></script/",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -->"
                ]
            ]
        },
        {
            "description": "<script><!--<script --></script>",
            "input": "<script><!--<script --></script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script -->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script><\\/script>--></script>",
            "input": "<script><!--<script><\\/script>--></script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script><\\/script>-->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script></scr'+'ipt>--></script>",
            "input": "<script><!--<script></scr'+'ipt>--></script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></scr'+'ipt>-->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script></script><script></script></script>",
            "input": "<script><!--<script></script><script></script></script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script></script><script></script>--><!--</script>",
            "input": "<script><!--<script></script><script></script>--><!--</script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>--><!--"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script></script><script></script>-- ></script>",
            "input": "<script><!--<script></script><script></script>-- ></script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>-- >"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script></script><script></script>- -></script>",
            "input": "<script><!--<script></script><script></script>- -></script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>- ->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script></script><script></script>- - ></script>",
            "input": "<script><!--<script></script><script></script>- - ></script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>- - >"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script></script><script></script>-></script>",
            "input": "<script><!--<script></script><script></script>-></script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></script><script></script>->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script>--!></script>X",
            "input": "<script><!--<script>--!></script>X",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script>--!></script>X"
                ]
            ]
        },
        {
            "description": "<script><!--<scr'+'ipt></script>--></script>",
            "input": "<script><!--<scr'+'ipt></script>--></script>",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<scr'+'ipt>"
                ],
                [
                    "EndTag",
                    "script"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "script"
                ]
            ]
        },
        {
            "description": "<script><!--<script></scr'+'ipt></script>X",
            "input": "<script><!--<script></scr'+'ipt></script>X",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    "<!--<script></scr'+'ipt></script>X"
                ]
            ]
        },
        {
            "description": "<style><!--<style></style>--></style>",
            "input": "<style><!--<style></style>--></style>",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--<style>"
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<style><!--</style>X",
            "input": "<style><!--</style>X",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "X"
                ]
            ]
        },
        {
            "description": "<style><!--...</style>...--></style>",
            "input": "<style><!--...</style>...--></style>",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--..."
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "...-->"
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
            "input": "<style><!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style></style>X",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--<br><html xmlns:v=\"urn:schemas-microsoft-com:vml\"><!--[if !mso]><style>"
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "X"
                ]
            ]
        },
        {
            "description": "<style><!--...<style><!--...--!></style>--></style>",
            "input": "<style><!--...<style><!--...--!></style>--></style>",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--...<style><!--...--!>"
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<style><!--...</style><!-- --><style>@import ...</style>",
            "input": "<style><!--...</style><!-- --><style>@import ...</style>",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "<!--..."
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Comment",
                    " "
                ],
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "@import ..."
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<style>...<style><!--...</style><!-- --></style>",
            "input": "<style>...<style><!--...</style><!-- --></style>",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "...<style><!--..."
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Comment",
                    " "
                ],
                [
                    "EndTag",
                    "style"
                ]
            ]
        },
        {
            "description": "<style>...<!--[if IE]><style>...</style>X",
            "input": "<style>...<!--[if IE]><style>...</style>X",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    "...<!--[if IE]><style>..."
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "X"
                ]
            ]
        },
        {
            "description": "<title><!--<title></title>--></title>",
            "input": "<title><!--<title></title>--></title>",
            "output": [
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    "<!--<title>"
                ],
                [
                    "EndTag",
                    "title"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "title"
                ]
            ]
        },
        {
            "description": "<title>&lt;/title></title>",
            "input": "<title>&lt;/title></title>",
            "output": [
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    "</title>"
                ],
                [
                    "EndTag",
                    "title"
                ]
            ]
        },
        {
            "description": "<title>foo/title><link></head><body>X",
            "input": "<title>foo/title><link></head><body>X",
            "output": [
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    "foo/title><link></head><body>X"
                ]
            ]
        },
        {
            "description": "<noscript><!--<noscript></noscript>--></noscript>",
            "input": "<noscript><!--<noscript></noscript>--></noscript>",
            "output": [
                [
                    "StartTag",
                    "noscript",
                    {}
                ],
                [
                    "Character",
                    "<!--<noscript>"
                ],
                [
                    "EndTag",
                    "noscript"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "noscript"
                ]
            ]
        },
        {
            "description": "<noscript><!--</noscript>X<noscript>--></noscript>",
            "input": "<noscript><!--</noscript>X<noscript>--></noscript>",
            "output": [
                [
                    "StartTag",
                    "noscript",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ],
                [
                    "EndTag",
                    "noscript"
                ],
                [
                    "Character",
                    "X"
                ],
                [
                    "StartTag",
                    "noscript",
                    {}
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "noscript"
                ]
            ]
        },
        {
            "description": "<noscript><iframe></noscript>X",
            "input": "<noscript><iframe></noscript>X",
            "output": [
                [
                    "StartTag",
                    "noscript",
                    {}
                ],
                [
                    "Character",
                    "<iframe>"
                ],
                [
                    "EndTag",
                    "noscript"
                ],
                [
                    "Character",
                    "X"
                ]
            ]
        },
        {
            "description": "<noframes><!--<noframes></noframes>--></noframes>",
            "input": "<noframes><!--<noframes></noframes>--></noframes>",
            "output": [
                [
                    "StartTag",
                    "noframes",
                    {}
                ],
                [
                    "Character",
                    "<!--<noframes>"
                ],
                [
                    "EndTag",
                    "noframes"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "noframes"
                ]
            ]
        },
        {
            "description": "<noframes><body><script><!--...</script></body></noframes></html>",
            "input": "<noframes><body><script><!--...</script></body></noframes></html>",
            "output": [
                [
                    "StartTag",
                    "noframes",
                    {}
                ],
                [
                    "Character",
                    "<body><script><!--...</script></body>"
                ],
                [
                    "EndTag",
                    "noframes"
                ],
                [
                    "EndTag",
                    "html"
                ]
            ]
        },
        {
            "description": "<textarea><!--<textarea></textarea>--></textarea>",
            "input": "<textarea><!--<textarea></textarea>--></textarea>",
            "output": [
                [
                    "StartTag",
                    "textarea",
                    {}
                ],
                [
                    "Character",
                    "<!--<textarea>"
                ],
                [
                    "EndTag",
                    "textarea"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "textarea"
                ]
            ]
        },
        {
            "description": "<textarea>&lt;/textarea></textarea>",
            "input": "<textarea>&lt;/textarea></textarea>",
            "output": [
                [
                    "StartTag",
                    "textarea",
                    {}
                ],
                [
                    "Character",
                    "</textarea>"
                ],
                [
                    "EndTag",
                    "textarea"
                ]
            ]
        },
        {
            "description": "<iframe><!--<iframe></iframe>--></iframe>",
            "input": "<iframe><!--<iframe></iframe>--></iframe>",
            "output": [
                [
                    "StartTag",
                    "iframe",
                    {}
                ],
                [
                    "Character",
                    "<!--<iframe>"
                ],
                [
                    "EndTag",
                    "iframe"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "iframe"
                ]
            ]
        },
        {
            "description": "<iframe>...<!--X->...<!--/X->...</iframe>",
            "input": "<iframe>...<!--X->...<!--/X->...</iframe>",
            "output": [
                [
                    "StartTag",
                    "iframe",
                    {}
                ],
                [
                    "Character",
                    "...<!--X->...<!--/X->..."
                ],
                [
                    "EndTag",
                    "iframe"
                ]
            ]
        },
        {
            "description": "<xmp><!--<xmp></xmp>--></xmp>",
            "input": "<xmp><!--<xmp></xmp>--></xmp>",
            "output": [
                [
                    "StartTag",
                    "xmp",
                    {}
                ],
                [
                    "Character",
                    "<!--<xmp>"
                ],
                [
                    "EndTag",
                    "xmp"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "xmp"
                ]
            ]
        },
        {
            "description": "<noembed><!--<noembed></noembed>--></noembed>",
            "input": "<noembed><!--<noembed></noembed>--></noembed>",
            "output": [
                [
                    "StartTag",
                    "noembed",
                    {}
                ],
                [
                    "Character",
                    "<!--<noembed>"
                ],
                [
                    "EndTag",
                    "noembed"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "noembed"
                ]
            ]
        },
        {
            "description": "<!doctype html><table>\\r\\n",
            "input": "<!doctype html><table>\r\n",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "table",
                    {}
                ],
                [
                    "Character",
                    "\n"
                ]
            ]
        },
        {
            "description": "<!doctype html><table><td><span><font></span><span>",
            "input": "<!doctype html><table><td><span><font></span><span>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "table",
                    {}
                ],
                [
                    "StartTag",
                    "td",
                    {}
                ],
                [
                    "StartTag",
                    "span",
                    {}
                ],
                [
                    "StartTag",
                    "font",
                    {}
                ],
                [
                    "EndTag",
                    "span"
                ],
                [
                    "StartTag",
                    "span",
                    {}
                ]
            ]
        },
        {
            "description": "<!doctype html><form><table></form><form></table></form>",
            "input": "<!doctype html><form><table></form><form></table></form>",
            "output": [
                [
                    "DOCTYPE",
                    "html",
                    null,
                    null,
                    true
                ],
                [
                    "StartTag",
                    "form",
                    {}
                ],
                [
                    "StartTag",
                    "table",
                    {}
                ],
                [
                    "EndTag",
                    "form"
                ],
                [
                    "StartTag",
                    "form",
                    {}
                ],
                [
                    "EndTag",
                    "table"
                ],
                [
                    "EndTag",
                    "form"
                ]
            ]
        }
    ]
}