git.iko.soy/typeable/pandoc
on master help sign in
Added test case for links in notes.
commit78c90bd749ae2e4935185aef6de6facc55ad4da0 authorJesse Rosenthal <jrosenthal@jhu.edu> dateSat 14 Nov 2015, 13:45 (11 years ago) parente5b374e
3 files changed+5
tests/Tests/Readers/Docx.hs+4 tests/docx/link_in_notes.docx tests/docx/link_in_notes.native+1
tests/Tests/Readers/Docx.hs+4
@@ -188,6 +188,10 @@ tests = [ testGroup "inlines"
188188 "footnotes and endnotes"
189189 "docx/notes.docx"
190190 "docx/notes.native"
191+ , testCompare
192+ "links in footnotes and endnotes"
193+ "docx/link_in_notes.docx"
194+ "docx/link_in_notes.native"
191195 , testCompare
192196 "blockquotes (parsing indent as blockquote)"
193197 "docx/block_quotes.docx"
tests/docx/link_in_notes.docxnew file

Binary file not shown.

tests/docx/link_in_notes.nativenew file+1
@@ -0,0 +1 @@
1+[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "test",Note [Para [Link [Str "http://wikipedia.org/"] ("http://wikipedia.org/","")]],Str "."]]