aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-10-29 18:41:49 -0400
committerWaylan Limberg <waylan@gmail.com>2008-10-29 18:41:49 -0400
commit4be7c4adbd91b796dd13d9329b1806049afeacd9 (patch)
tree54fa5826bb34aa9f3753f5499751e7a522db293d
parentd3e94d7307db8f8260531074ffca910eb3410777 (diff)
downloadmarkdown-4be7c4adbd91b796dd13d9329b1806049afeacd9.tar.gz
markdown-4be7c4adbd91b796dd13d9329b1806049afeacd9.tar.bz2
markdown-4be7c4adbd91b796dd13d9329b1806049afeacd9.zip
Updated and activated footnotes extension tests for refactor in previous commit.
-rwxr-xr-xtest-markdown.py2
-rw-r--r--tests/extensions-x-footnotes/footnote.html67
2 files changed, 27 insertions, 42 deletions
diff --git a/test-markdown.py b/test-markdown.py
index bdbd8d6..3d89e3b 100755
--- a/test-markdown.py
+++ b/test-markdown.py
@@ -369,7 +369,7 @@ testDirectory("tests/markdown-test", measure_time=True)
testDirectory("tests/misc", measure_time=True)
testDirectory("tests/extensions-x-tables")
-#testDirectory("tests/extensions-x-footnotes")
+testDirectory("tests/extensions-x-footnotes")
#testDirectory("tests/extensions-x-ext1-ext2")
testDirectory("tests/safe_mode", measure_time=True, safe_mode="escape")
testDirectory("tests/extensions-x-codehilite")
diff --git a/tests/extensions-x-footnotes/footnote.html b/tests/extensions-x-footnotes/footnote.html
index 4a844be..b949c57 100644
--- a/tests/extensions-x-footnotes/footnote.html
+++ b/tests/extensions-x-footnotes/footnote.html
@@ -1,42 +1,27 @@
-<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>
+<p>This is the body with a footnote<sup id="fnref:1"><a href="#fn:1" rel="footnote">1</a></sup> or two<sup id="fnref:2"><a href="#fn:2" rel="footnote">2</a></sup> or more<sup id="fnref:3"><a href="#fn:3" rel="footnote">3</a></sup> <sup id="fnref:4"><a href="#fn:4" rel="footnote">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">&#8617;</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">&#8617;</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">&#8617;</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">&#8617;</a>
- </p>
- </li>
- </ol>
-</div>
+<hr />
+<ol>
+<li id="fn:1">
+<p>Footnote that ends with a list:</p>
+<ul>
+<li>item 1</li>
+<li>item 2</li>
+</ul>
+<p><a href="#fnref:1" rev="footnote" title="Jump back to footnote 1 in the text">&#8617;</a></p>
+</li>
+<li id="fn:2">
+<blockquote>
+<p>This footnote is a blockquote.</p>
+</blockquote>
+<p><a href="#fnref:2" rev="footnote" title="Jump back to footnote 2 in the text">&#8617;</a></p>
+</li>
+<li id="fn:3">
+<p>A simple oneliner.&#160;<a href="#fnref:3" rev="footnote" title="Jump back to footnote 3 in the text">&#8617;</a></p>
+</li>
+<li id="fn:4">
+<p>A footnote with multiple paragraphs.</p>
+<p>Paragraph two.&#160;<a href="#fnref:4" rev="footnote" title="Jump back to footnote 4 in the text">&#8617;</a></p>
+</li>
+</ol>
+</div> \ No newline at end of file