diff --git a/tests.py b/tests.py index 0431387a..893fc036 100644 --- a/tests.py +++ b/tests.py @@ -1952,6 +1952,11 @@ def testDangerousMarkup(): '.innerHTML = "evil";

' assert(dangerousMarkup(content)) + content = '

This html contains more than you expected... ' + \ + '

' + assert(dangerousMarkup(content)) + content = '

This is a valid-looking message. But wait... ' + \ '