From 745db11d2f5ec2300e3b16554173a45f5e3c7311 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Sun, 27 Jan 2019 19:40:13 +0000 Subject: [PATCH] Since SafeMode concerns output, spacing should still be parsed like markup --- tests/data/xss_text_encoding.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/data/xss_text_encoding.html b/tests/data/xss_text_encoding.html index e6b3fc5..7869514 100644 --- a/tests/data/xss_text_encoding.html +++ b/tests/data/xss_text_encoding.html @@ -1,7 +1,9 @@

<script>alert(1)</script>

-

<script>

-

alert(1)

-

</script>

+

<script> + +alert(1) + +</script>

<script> alert(1) </script>

\ No newline at end of file