aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-08-04 09:48:30 +1000
committernyamatongwe <unknown>2010-08-04 09:48:30 +1000
commite3d7ac87ee667bb21035a6e64efa635fafabf43b (patch)
tree20a6f6c268c62307292f819284a4b9288369ef9f
parentb0f75d4547c41e0c06083df95b0db85a1440b355 (diff)
downloadscintilla-mirror-e3d7ac87ee667bb21035a6e64efa635fafabf43b.tar.gz
Added test for bug #3038381.
-rw-r--r--test/examples/x.html4
-rw-r--r--test/examples/x.html.styled4
2 files changed, 8 insertions, 0 deletions
diff --git a/test/examples/x.html b/test/examples/x.html
index 1d325dc76..7fa1a9f0e 100644
--- a/test/examples/x.html
+++ b/test/examples/x.html
@@ -1,4 +1,8 @@
<html xmlns="http://www.w3.org/1999/xhtml">
+<script type="text/javascript">
+'x\
+</t>'
+</script>
<head>
<meta name="Date.Modified" content="20010515" />
<title>SinkWorld - Portability</title>
diff --git a/test/examples/x.html.styled b/test/examples/x.html.styled
index 3bcb7bca1..5a6aebe5e 100644
--- a/test/examples/x.html.styled
+++ b/test/examples/x.html.styled
@@ -1,4 +1,8 @@
{1}<html{8} {3}xmlns{8}={6}"http://www.w3.org/1999/xhtml"{1}>{0}
+{1}<script{8} {3}type{8}={6}"text/javascript"{1}>{40}
+{49}'x\
+</t>'{41}
+{1}</script>{0}
{1}<head>{0}
{1}<meta{8} {3}name{8}={6}"Date.Modified"{8} {3}content{8}={6}"20010515"{8} {11}/>{0}
{1}<title>{0}SinkWorld - Portability{1}</title>{0}