aboutsummaryrefslogtreecommitdiff
path: root/tests/writer.smart.html
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-21 19:33:57 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-21 19:33:57 +0000
commitd2105f66930f4d14bbeabe2bbbe4f764bb9cb10f (patch)
treeb214e05ce9ddb0fe3330174946318fb56f7e884d /tests/writer.smart.html
parent48b8267126fc82aadf289762718b8c01e5331e4c (diff)
downloadpandoc-d2105f66930f4d14bbeabe2bbbe4f764bb9cb10f.tar.gz
+ Added regression tests with footnotes in quote blocks and lists.
+ This uncovered an existing bug in the RTF writer, which got indentation wrong on footnotes occuring in indented blocks like lists. Fixed this bug. git-svn-id: https://pandoc.googlecode.com/svn/trunk@263 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests/writer.smart.html')
-rw-r--r--tests/writer.smart.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/writer.smart.html b/tests/writer.smart.html
index 0ea82cfdd..d78ac4561 100644
--- a/tests/writer.smart.html
+++ b/tests/writer.smart.html
@@ -473,6 +473,12 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>');
<a id="Footnotes"></a>
<h1>Footnotes</h1>
<p>Here is a footnote reference,<sup class="footnoteRef" id="fnref1"><a href="#fn1">1</a></sup> and another.<sup class="footnoteRef" id="fnref2"><a href="#fn2">2</a></sup> This should <em>not</em> be a footnote reference, because it contains a space.[^my note] Here is an inline note.<sup class="footnoteRef" id="fnref3"><a href="#fn3">3</a></sup></p>
+<blockquote>
+<p>Notes can go in quotes.<sup class="footnoteRef" id="fnref4"><a href="#fn4">4</a></sup></p>
+</blockquote>
+<ol>
+<li>And in list items.<sup class="footnoteRef" id="fnref5"><a href="#fn5">5</a></sup></li>
+</ol>
<p>This paragraph should not be part of the note, as it is not indented.</p>
<div class="footnotes">
<hr />
@@ -487,6 +493,10 @@ document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'">'+e+'<\/'+'a'+'>');
<a href="#fnref2" class="footnoteBacklink" title="Jump back to footnote 2">&#8617;</a></li>
<li id="fn3"><p>This is <em>easier</em> to type. Inline notes may contain <a href="http://google.com">links</a> and <code>]</code> verbatim characters.</p>
<a href="#fnref3" class="footnoteBacklink" title="Jump back to footnote 3">&#8617;</a></li>
+<li id="fn4"><p>In quote.</p>
+ <a href="#fnref4" class="footnoteBacklink" title="Jump back to footnote 4">&#8617;</a></li>
+<li id="fn5"><p>In list.</p>
+ <a href="#fnref5" class="footnoteBacklink" title="Jump back to footnote 5">&#8617;</a></li>
</ol>
</div>
</body>