'Trying to fix issue 14956
https://github.com/andresriancho/w3af/issues/14956'

def test_get_clean_body_14956(self):

    url = URL('http://w3af.org/install.php?mode=phpinfo')
    headers = Headers([('Content-Type', 'text/html')])
    body = '<head><title>Document    Moved</title></head><body><h1>Object    Moved</h1>This    document    may    be    found    <a    HREF="https://w3af.org/install.php?mode=phpinfo">here</a></body>'
    resp = HTTPResponse(200, body, headers, url, url)
    clean_body = get_clean_body(resp)
    ebody = '<head><title>Document    Moved</title></head><body><h1>Object    Moved</h1>This    document    may    be    found    <a    HREF="">here</a></body>'
    self.assertEqual(clean_body, ebody)
