summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-23 11:45:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-23 11:45:53 -0700
commit6eca3cd659617fad71c88531843f55ac5c46ecc0 (patch)
treedebd32dcf299fc6711624246dc1e7d1d615049b8 /test
parent78c60ec7977c35c442f537d72cf4e96375c069f1 (diff)
Updated spec.
Diffstat (limited to 'test')
-rw-r--r--test/spec.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/spec.txt b/test/spec.txt
index b8a897c..99365cd 100644
--- a/test/spec.txt
+++ b/test/spec.txt
@@ -2302,6 +2302,7 @@ import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
</code></pre>
+okay
.
<pre language="haskell"><code>
import Text.HTML.TagSoup
@@ -2309,6 +2310,7 @@ import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
</code></pre>
+<p>okay</p>
````````````````````````````````
@@ -2320,12 +2322,14 @@ A script tag (type 1):
document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
+okay
.
<script type="text/javascript">
// JavaScript example
document.getElementById("demo").innerHTML = "Hello JavaScript!";
</script>
+<p>okay</p>
````````````````````````````````
@@ -2338,6 +2342,7 @@ h1 {color:red;}
p {color:blue;}
</style>
+okay
.
<style
type="text/css">
@@ -2345,6 +2350,7 @@ h1 {color:red;}
p {color:blue;}
</style>
+<p>okay</p>
````````````````````````````````
@@ -2433,11 +2439,13 @@ A comment (type 2):
bar
baz -->
+okay
.
<!-- Foo
bar
baz -->
+<p>okay</p>
````````````````````````````````
@@ -2450,12 +2458,14 @@ A processing instruction (type 3):
echo '>';
?>
+okay
.
<?php
echo '>';
?>
+<p>okay</p>
````````````````````````````````
@@ -2483,6 +2493,7 @@ function matchwo(a,b)
}
}
]]>
+okay
.
<![CDATA[
function matchwo(a,b)
@@ -2496,6 +2507,7 @@ function matchwo(a,b)
}
}
]]>
+<p>okay</p>
````````````````````````````````