diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/extensions-x-footnotes/footnote.html | 82 | ||||
-rwxr-xr-x | tests/markdown-test/angle-links-and-img.html | 7 | ||||
-rwxr-xr-x | tests/markdown-test/angle-links-and-img.txt | 4 | ||||
-rwxr-xr-x | tests/misc/blockquote-below-paragraph.html | 6 | ||||
-rwxr-xr-x | tests/misc/blockquote-below-paragraph.txt | 3 | ||||
-rwxr-xr-x | tests/misc/html-comments.html | 2 | ||||
-rwxr-xr-x | tests/misc/html-comments.txt | 2 |
7 files changed, 66 insertions, 40 deletions
diff --git a/tests/extensions-x-footnotes/footnote.html b/tests/extensions-x-footnotes/footnote.html index de0070d..4a844be 100644 --- a/tests/extensions-x-footnotes/footnote.html +++ b/tests/extensions-x-footnotes/footnote.html @@ -1,40 +1,42 @@ -<p>This is the body with a footnote<sup id="fnr1-5771256"><a href="#fn1-5771256">1</a></sup> or two<sup id="fnr2-5771256"><a href="#fn2-5771256">2</a></sup> or more<sup id="fnr3-5771256"><a href="#fn3-5771256">3</a></sup> <sup id="fnr4-5771256"><a href="#fn4-5771256">4</a></sup>. -</p> - -<div class="footnote"><hr/><ol> - <li id="fn1-5771256"><p>Footnote that ends with a list: -</p> -<ul> - <li> - item 1 - </li> - - <li> - item 2 - </li> -</ul> -<p><a href="#fnr1-5771256" class="footnoteBackLink" title="Jump back to footnote 1 in the text">↩</a> -</p> - - </li> - - <li id="fn2-5771256"><blockquote><p>This footnote is a blockquote. -</p> -</blockquote><p><a href="#fnr2-5771256" class="footnoteBackLink" title="Jump back to footnote 2 in the text">↩</a> -</p> - - </li> - - <li id="fn3-5771256"><p>A simple oneliner.<a href="#fnr3-5771256" class="footnoteBackLink" title="Jump back to footnote 3 in the text">↩</a> -</p> - - </li> - - <li id="fn4-5771256"><p>A footnote with multiple paragraphs. -</p> -<p>Paragraph two.<a href="#fnr4-5771256" class="footnoteBackLink" title="Jump back to footnote 4 in the text">↩</a> -</p> - - </li> -</ol> -</div>
\ No newline at end of file +<p>This is the body with a footnote<sup id="fnr1-506476047"> + <a href="#fn1-506476047">1</a> + </sup> or two<sup id="fnr2-506476047"> + <a href="#fn2-506476047">2</a> + </sup> or more<sup id="fnr3-506476047"> + <a href="#fn3-506476047">3</a> + </sup> + <sup id="fnr4-506476047"> + <a href="#fn4-506476047">4</a> + </sup>.</p> +<div class="footnote"> + <hr /> + <ol> + <li id="fn1-506476047"> + <p>Footnote that ends with a list:</p> + <ul> + <li>item 1</li> + <li>item 2</li> + </ul> + <p> + <a class="footnoteBackLink" href="#fnr1-506476047" title="Jump back to footnote 1 in the text">↩</a> + </p> + </li> + <li id="fn2-506476047"> + <blockquote> + <p>This footnote is a blockquote.</p> + </blockquote> + <p> + <a class="footnoteBackLink" href="#fnr2-506476047" title="Jump back to footnote 2 in the text">↩</a> + </p> + </li> + <li id="fn3-506476047"> + <p>A simple oneliner.<a class="footnoteBackLink" href="#fnr3-506476047" title="Jump back to footnote 3 in the text">↩</a> + </p> + </li> + <li id="fn4-506476047"> + <p>A footnote with multiple paragraphs.</p> + <p>Paragraph two.<a class="footnoteBackLink" href="#fnr4-506476047" title="Jump back to footnote 4 in the text">↩</a> + </p> + </li> + </ol> +</div> diff --git a/tests/markdown-test/angle-links-and-img.html b/tests/markdown-test/angle-links-and-img.html new file mode 100755 index 0000000..e32b6e6 --- /dev/null +++ b/tests/markdown-test/angle-links-and-img.html @@ -0,0 +1,7 @@ +<p> + <a href="simple link" title="title">link</a> + <img alt="image" src="http://example.com/image.jpg" /> + <a href="http://example.com/(()((())923)(">link</a> + <img alt="image" src="link(()))(" /> +</p> + diff --git a/tests/markdown-test/angle-links-and-img.txt b/tests/markdown-test/angle-links-and-img.txt new file mode 100755 index 0000000..1dbf404 --- /dev/null +++ b/tests/markdown-test/angle-links-and-img.txt @@ -0,0 +1,4 @@ +[link](<simple link> "title") +![image](<http://example.com/image.jpg>) +[link](<http://example.com/(()((())923)(>) +![image](<link(()))(>) diff --git a/tests/misc/blockquote-below-paragraph.html b/tests/misc/blockquote-below-paragraph.html new file mode 100755 index 0000000..5757a9a --- /dev/null +++ b/tests/misc/blockquote-below-paragraph.html @@ -0,0 +1,6 @@ +<p>Paragraph</p> +<blockquote> + <p>Block quote +Yep</p> +</blockquote> + diff --git a/tests/misc/blockquote-below-paragraph.txt b/tests/misc/blockquote-below-paragraph.txt new file mode 100755 index 0000000..0dd4d5c --- /dev/null +++ b/tests/misc/blockquote-below-paragraph.txt @@ -0,0 +1,3 @@ +Paragraph +>Block quote +>Yep diff --git a/tests/misc/html-comments.html b/tests/misc/html-comments.html new file mode 100755 index 0000000..ac08082 --- /dev/null +++ b/tests/misc/html-comments.html @@ -0,0 +1,2 @@ +<p>Here is HTML <!-- **comment** --> +and once more <p><!--comment--></p></p> diff --git a/tests/misc/html-comments.txt b/tests/misc/html-comments.txt new file mode 100755 index 0000000..cac4da5 --- /dev/null +++ b/tests/misc/html-comments.txt @@ -0,0 +1,2 @@ +Here is HTML <!-- **comment** --> +and once more <p><!--comment--></p> |