diff options
author | Alexandre Mutel <alexandre_mutel@live.com> | 2016-06-23 06:04:48 +0900 |
---|---|---|
committer | Alexandre Mutel <alexandre_mutel@live.com> | 2016-06-23 06:04:48 +0900 |
commit | 8dadc5d6d29cb30f5f1a216fb14396c13c9747a2 (patch) | |
tree | 91840ac476f7756ccf6c2e9b00420592cce4a885 | |
parent | c15358fdd7947a4bc06c0897b9eb28d40d5df7da (diff) |
Add tests to check that markdown parsing is working fine after an HTML block end tag
-rw-r--r-- | spec.txt | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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> ```````````````````````````````` |