aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Mutel <alexandre_mutel@live.com>2016-06-23 06:04:48 +0900
committerAlexandre Mutel <alexandre_mutel@live.com>2016-06-23 06:04:48 +0900
commit8dadc5d6d29cb30f5f1a216fb14396c13c9747a2 (patch)
tree91840ac476f7756ccf6c2e9b00420592cce4a885
parentc15358fdd7947a4bc06c0897b9eb28d40d5df7da (diff)
Add tests to check that markdown parsing is working fine after an HTML block end tag
-rw-r--r--spec.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec.txt b/spec.txt
index ba3d2eb..c630917 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>
````````````````````````````````