From d2105f66930f4d14bbeabe2bbbe4f764bb9cb10f Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Thu, 21 Dec 2006 19:33:57 +0000 Subject: + 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 --- tests/writer.smart.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/writer.smart.html') 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(''+e+'<\/'+'a'+'>');

Footnotes

Here is a footnote reference,1 and another.2 This should not be a footnote reference, because it contains a space.[^my note] Here is an inline note.3

+
+

Notes can go in quotes.4

+
+
    +
  1. And in list items.5
  2. +

This paragraph should not be part of the note, as it is not indented.


@@ -487,6 +493,10 @@ document.write(''+e+'<\/'+'a'+'>');
  • This is easier to type. Inline notes may contain links and ] verbatim characters.

  • +
  • In quote.

    +
  • +
  • In list.

    +
  • -- cgit v1.2.3