From 1f1cbd3eea0f3d36c5ceba3642a09fbf85884514 Mon Sep 17 00:00:00 2001
From: Bob Mottram
Date: Sun, 15 Nov 2020 10:36:24 +0000
Subject: [PATCH] Another script test
---
tests.py | 5 +++++
1 file changed, 5 insertions(+)
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... ' + \
'
'
assert(dangerousMarkup(content))