aboutsummaryrefslogtreecommitdiff
path: root/spec.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-23 11:44:01 -0700
committerGitHub <noreply@github.com>2016-06-23 11:44:01 -0700
commite9ff438a200f6dd4798e525c966a8fecd1e6e1a0 (patch)
treef2b5d41da5829d48e4fdf9c53b8269ded135952b /spec.txt
parent87d4162012453667c9394bfdaf3c59c91559adac (diff)
parent8dadc5d6d29cb30f5f1a216fb14396c13c9747a2 (diff)
Merge pull request #409 from xoofx/html_end_parsing
Improve tests for HTML end block parsing
Diffstat (limited to 'spec.txt')
-rw-r--r--spec.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index b8a897c..99365cd 100644
--- a/spec.txt
+++ b/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>
````````````````````````````````