{
    "tests": [
        {
            "description": "<style> <!-- </style>x",
            "input": "<style> <!-- </style>x",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    " <!-- "
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<style> <!-- </style> --> </style>x",
            "input": "<style> <!-- </style> --> </style>x",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    " <!-- "
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    " --> "
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<style> <!--> </style>x",
            "input": "<style> <!--> </style>x",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    " <!--> "
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<style> <!---> </style>x",
            "input": "<style> <!---> </style>x",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    " <!---> "
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<iframe> <!---> </iframe>x",
            "input": "<iframe> <!---> </iframe>x",
            "output": [
                [
                    "StartTag",
                    "iframe",
                    {}
                ],
                [
                    "Character",
                    " <!---> "
                ],
                [
                    "EndTag",
                    "iframe"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<iframe> <!--- </iframe>->x</iframe> --> </iframe>x",
            "input": "<iframe> <!--- </iframe>->x</iframe> --> </iframe>x",
            "output": [
                [
                    "StartTag",
                    "iframe",
                    {}
                ],
                [
                    "Character",
                    " <!--- "
                ],
                [
                    "EndTag",
                    "iframe"
                ],
                [
                    "Character",
                    "->x"
                ],
                [
                    "EndTag",
                    "iframe"
                ],
                [
                    "Character",
                    " --> "
                ],
                [
                    "EndTag",
                    "iframe"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<script> <!-- </script> --> </script>x",
            "input": "<script> <!-- </script> --> </script>x",
            "output": [
                [
                    "StartTag",
                    "script",
                    {}
                ],
                [
                    "Character",
                    " <!-- "
                ],
                [
                    "EndTag",
                    "script"
                ],
                [
                    "Character",
                    " --> "
                ],
                [
                    "EndTag",
                    "script"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<title> <!-- </title> --> </title>x",
            "input": "<title> <!-- </title> --> </title>x",
            "output": [
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    " <!-- "
                ],
                [
                    "EndTag",
                    "title"
                ],
                [
                    "Character",
                    " --> "
                ],
                [
                    "EndTag",
                    "title"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<textarea> <!--- </textarea>->x</textarea> --> </textarea>x",
            "input": "<textarea> <!--- </textarea>->x</textarea> --> </textarea>x",
            "output": [
                [
                    "StartTag",
                    "textarea",
                    {}
                ],
                [
                    "Character",
                    " <!--- "
                ],
                [
                    "EndTag",
                    "textarea"
                ],
                [
                    "Character",
                    "->x"
                ],
                [
                    "EndTag",
                    "textarea"
                ],
                [
                    "Character",
                    " --> "
                ],
                [
                    "EndTag",
                    "textarea"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<style> <!</-- </style>x",
            "input": "<style> <!</-- </style>x",
            "output": [
                [
                    "StartTag",
                    "style",
                    {}
                ],
                [
                    "Character",
                    " <!</-- "
                ],
                [
                    "EndTag",
                    "style"
                ],
                [
                    "Character",
                    "x"
                ]
            ]
        },
        {
            "description": "<p><xmp></xmp>",
            "input": "<p><xmp></xmp>",
            "output": [
                [
                    "StartTag",
                    "p",
                    {}
                ],
                [
                    "StartTag",
                    "xmp",
                    {}
                ],
                [
                    "EndTag",
                    "xmp"
                ]
            ]
        },
        {
            "description": "<xmp> <!-- > --> </xmp>",
            "input": "<xmp> <!-- > --> </xmp>",
            "output": [
                [
                    "StartTag",
                    "xmp",
                    {}
                ],
                [
                    "Character",
                    " <!-- > --> "
                ],
                [
                    "EndTag",
                    "xmp"
                ]
            ]
        },
        {
            "description": "<title>&amp;</title>",
            "input": "<title>&amp;</title>",
            "output": [
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    "&"
                ],
                [
                    "EndTag",
                    "title"
                ]
            ]
        },
        {
            "description": "<title><!--&amp;--></title>",
            "input": "<title><!--&amp;--></title>",
            "output": [
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    "<!--&-->"
                ],
                [
                    "EndTag",
                    "title"
                ]
            ]
        },
        {
            "description": "<title><!--</title>",
            "input": "<title><!--</title>",
            "output": [
                [
                    "StartTag",
                    "title",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ],
                [
                    "EndTag",
                    "title"
                ]
            ]
        },
        {
            "description": "<noscript><!--</noscript>--></noscript>",
            "input": "<noscript><!--</noscript>--></noscript>",
            "output": [
                [
                    "StartTag",
                    "noscript",
                    {}
                ],
                [
                    "Character",
                    "<!--"
                ],
                [
                    "EndTag",
                    "noscript"
                ],
                [
                    "Character",
                    "-->"
                ],
                [
                    "EndTag",
                    "noscript"
                ]
            ]
        }
    ]
}