diff options
Diffstat (limited to 'tests/misc')
-rw-r--r-- | tests/misc/comments.html | 6 | ||||
-rw-r--r-- | tests/misc/comments.txt | 3 | ||||
-rw-r--r-- | tests/misc/mismatched-tags.html | 5 | ||||
-rw-r--r-- | tests/misc/multi-line-tags.html | 10 | ||||
-rw-r--r-- | tests/misc/multi-line-tags.txt | 7 | ||||
-rw-r--r-- | tests/misc/multiline-comments.html | 2 | ||||
-rw-r--r-- | tests/misc/para-with-hr.html | 5 | ||||
-rw-r--r-- | tests/misc/para-with-hr.txt | 3 |
8 files changed, 36 insertions, 5 deletions
diff --git a/tests/misc/comments.html b/tests/misc/comments.html index 005a755..2240ab9 100644 --- a/tests/misc/comments.html +++ b/tests/misc/comments.html @@ -2,4 +2,8 @@ <p>X>0</p> <!-- A comment --> -<div>as if</div>
\ No newline at end of file +<div>as if</div> + +<!-- comment --> + +<p><strong>no blank line</strong></p>
\ No newline at end of file diff --git a/tests/misc/comments.txt b/tests/misc/comments.txt index 68302b0..d9186f0 100644 --- a/tests/misc/comments.txt +++ b/tests/misc/comments.txt @@ -5,3 +5,6 @@ X>0 <!-- A comment --> <div>as if</div> + +<!-- comment --> +__no blank line__ diff --git a/tests/misc/mismatched-tags.html b/tests/misc/mismatched-tags.html index ec087e1..06bd57f 100644 --- a/tests/misc/mismatched-tags.html +++ b/tests/misc/mismatched-tags.html @@ -6,6 +6,9 @@ <p>And this output</p> <p><em>Compatible with PHP Markdown Extra 1.2.2 and Markdown.pl1.0.2b8:</em></p> -<!-- comment --><p><div>text</div><br /></p><br /> +<!-- comment --> +<p><div>text</div><br /></p> + +<p><br /></p> <p>Should be in p</p>
\ No newline at end of file diff --git a/tests/misc/multi-line-tags.html b/tests/misc/multi-line-tags.html index 784c1dd..69899aa 100644 --- a/tests/misc/multi-line-tags.html +++ b/tests/misc/multi-line-tags.html @@ -2,4 +2,12 @@ asdf asdfasd -</div>
\ No newline at end of file +</div> + +<div> + +foo bar + +</div> + +<p>No blank line.</p>
\ No newline at end of file diff --git a/tests/misc/multi-line-tags.txt b/tests/misc/multi-line-tags.txt index 4ea3b02..9056473 100644 --- a/tests/misc/multi-line-tags.txt +++ b/tests/misc/multi-line-tags.txt @@ -4,3 +4,10 @@ asdf asdfasd </div> + +<div> + +foo bar + +</div> +No blank line. diff --git a/tests/misc/multiline-comments.html b/tests/misc/multiline-comments.html index 12f8cb5..29c17e9 100644 --- a/tests/misc/multiline-comments.html +++ b/tests/misc/multiline-comments.html @@ -2,7 +2,7 @@ foo ---> +--> <p> diff --git a/tests/misc/para-with-hr.html b/tests/misc/para-with-hr.html index 8569fec..7607449 100644 --- a/tests/misc/para-with-hr.html +++ b/tests/misc/para-with-hr.html @@ -1,3 +1,6 @@ <p>Here is a paragraph, followed by a horizontal rule.</p> <hr /> -<p>Followed by another paragraph.</p>
\ No newline at end of file +<p>Followed by another paragraph.</p> +<p>Here is another paragraph, followed by: +*** not an HR. +Followed by more of the same paragraph.</p>
\ No newline at end of file diff --git a/tests/misc/para-with-hr.txt b/tests/misc/para-with-hr.txt index 20735fb..165bbe3 100644 --- a/tests/misc/para-with-hr.txt +++ b/tests/misc/para-with-hr.txt @@ -2,3 +2,6 @@ Here is a paragraph, followed by a horizontal rule. *** Followed by another paragraph. +Here is another paragraph, followed by: +*** not an HR. +Followed by more of the same paragraph. |