Skip to content

Commit 8a34f3c

Browse files
committed
Merge pull request #36 from gsnedders/fix-3-script-data-double-escaped-dash-state
Fix #3: test ">" in script data double escaped dash state; r=jgraham
2 parents e1f5573 + 6ae5928 commit 8a34f3c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tree-construction/scriptdata01.dat

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,3 +350,16 @@ FOO<script type="text/plain">'<!-- <sCrIpt/'</script>BAR</script>QUX
350350
| type="text/plain"
351351
| "'<!-- <sCrIpt/'</script>BAR"
352352
| "QUX"
353+
354+
#data
355+
FOO<script><!--<script>-></script>--></script>QUX
356+
#errors
357+
(1,3): expected-doctype-but-got-chars
358+
#document
359+
| <html>
360+
| <head>
361+
| <body>
362+
| "FOO"
363+
| <script>
364+
| "<!--<script>-></script>-->"
365+
| "QUX"

0 commit comments

Comments
 (0)