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.markdown | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/writer.markdown') diff --git a/tests/writer.markdown b/tests/writer.markdown index c91546aaa..5dc995eed 100644 --- a/tests/writer.markdown +++ b/tests/writer.markdown @@ -611,6 +611,10 @@ 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] + This paragraph should not be part of the note, as it is not indented. @@ -630,3 +634,9 @@ indented. [^3]: This is *easier* to type. Inline notes may contain [links](http://google.com) and `]` verbatim characters. +[^4]: In quote. + + +[^5]: In list. + + -- cgit v1.2.3