'A single quote inside an HTML comment seems to break parsing by
"extending" the HTML comment context. See the "quote_comment.html"
file, specifically the section which says:
"I\'m a single quote, and I break stuff."
Before fixing this bug, if you removed that single quote, this test
passed.'

def test_payload_html_comment_with_single_quote(self):

    html = '\n                                <!DOCTYPE    html>\n                                <html>\n                                                <!--\n                                                I\'m    a    single    quote,    and    I    break    stuff.\n                                                -->\n                                                <a    href="http://external/abc/PAYLOAD">Check    link    href</a>\n                                </html>\n                                '
    contexts = get_context(html, 'PAYLOAD')
    self.assertEqual(len(contexts), 1, contexts)
    self.assertIsInstance(contexts[0], HtmlAttrDoubleQuote)
