diff options
author | Jesse Rosenthal <jrosenthal@jhu.edu> | 2015-11-14 13:45:29 -0500 |
---|---|---|
committer | Jesse Rosenthal <jrosenthal@jhu.edu> | 2015-11-14 13:49:02 -0500 |
commit | 78c90bd749ae2e4935185aef6de6facc55ad4da0 (patch) | |
tree | cc9e69ef0d4308c8d69f46fbc31643778a64bcfc | |
parent | e5b374e2cae94e56f5512f88aad0f2fd862c71bd (diff) | |
download | pandoc-78c90bd749ae2e4935185aef6de6facc55ad4da0.tar.gz |
Added test case for links in notes.
-rw-r--r-- | tests/Tests/Readers/Docx.hs | 4 | ||||
-rw-r--r-- | tests/docx/link_in_notes.docx | bin | 0 -> 27357 bytes | |||
-rw-r--r-- | tests/docx/link_in_notes.native | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs index 7e3f1979e..127dfd73c 100644 --- a/tests/Tests/Readers/Docx.hs +++ b/tests/Tests/Readers/Docx.hs @@ -189,6 +189,10 @@ tests = [ testGroup "inlines" "docx/notes.docx" "docx/notes.native" , testCompare + "links in footnotes and endnotes" + "docx/link_in_notes.docx" + "docx/link_in_notes.native" + , testCompare "blockquotes (parsing indent as blockquote)" "docx/block_quotes.docx" "docx/block_quotes_parse_indent.native" diff --git a/tests/docx/link_in_notes.docx b/tests/docx/link_in_notes.docx Binary files differnew file mode 100644 index 000000000..f3398f438 --- /dev/null +++ b/tests/docx/link_in_notes.docx diff --git a/tests/docx/link_in_notes.native b/tests/docx/link_in_notes.native new file mode 100644 index 000000000..bb2bbe8a2 --- /dev/null +++ b/tests/docx/link_in_notes.native @@ -0,0 +1 @@ +[Para [Str "This",Space,Str "is",Space,Str "a",Space,Str "test",Note [Para [Link [Str "http://wikipedia.org/"] ("http://wikipedia.org/","")]],Str "."]] |