Skip to content

Commit 18af5ec

Browse files
committed
Issue #65 - add some more tests, and adjust testbase accordingly
1 parent 06b1952 commit 18af5ec

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

test/input/in_1642186-1.html

+14
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,21 @@
88
var m1 = "\"<script \"";
99
var m2 = '<script '; // <script
1010
</script>
11+
<script>
12+
document.write('<style>body{font-family:"'+XCOOKIE.gui_font+'",Verdana, Arial;}<\/style>');
13+
</script>
1114
</head>
1215
<body>
16+
<p>para 1</p>
17+
<script type="text/javascript">//<![CDATA[
18+
var request_uri = "http://www.cubrid.org/";
19+
var waiting_message = "Requesting to the server, please wait";
20+
var ssl_actions = new Array();
21+
//]]></script>
22+
<p>para 2</p>
23+
<script>
24+
// We don't like single quotes.
25+
</script>
26+
<p>para 3</p>
1327
</body>
1428
</html>

test/testbase/out_1642186-1.html

+16
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,23 @@
88
var m1 = "\"<script \"";
99
var m2 = '<script '; // <script
1010
</script>
11+
<script>
12+
document.write('<style>body{font-family:"'+XCOOKIE.gui_font+'",Verdana, Arial;}<\/style>');
13+
</script>
1114
</head>
1215
<body>
16+
<p>para 1</p>
17+
<script type="text/javascript">
18+
//<![CDATA[
19+
var request_uri = "http://www.cubrid.org/";
20+
var waiting_message = "Requesting to the server, please wait";
21+
var ssl_actions = new Array();
22+
//]]>
23+
</script>
24+
<p>para 2</p>
25+
<script>
26+
// We don't like single quotes.
27+
</script>
28+
<p>para 3</p>
1329
</body>
1430
</html>

0 commit comments

Comments
 (0)