aboutsummaryrefslogtreecommitdiff
path: root/tests/safe_mode/script_tags.txt
blob: 44041c2f0be337cfa63c935cac3e221d2f903ecd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
This should be stripped/escaped in safe_mode.

<script>
alert("Hello world!")
</script>

With blank lines.

<script>

alert("Hello world!")

</script>

Now with some weirdness

``<script <!--
alert("Hello world!")
</script <>`` `

Try another way.

<script <!--
alert("Hello world!")
</script <>

This time with blank lines.

<script <!--

alert("Hello world!")

</script <>