'bug 801046: strip IE conditional comments'

def test_stripped_ie_comment(self):

    content = '\n                                                <p>Hi    there.</p>\n                                                <!--[if]><script>alert(1)</script    -->\n                                                <!--[if<img    src=x    onerror=alert(2)//]>    -->\n                                                <p>Goodbye</p>\n                                '
    expected = '\n                                                <p>Hi    there.</p>\n                                                <p>Goodbye</p>\n                                '
    result = Document.objects.clean_content(content)
    eq_(normalize_html(expected), normalize_html(result))
