git.iko.soy/typeable/pandoc
on master help sign in
Docx reader: Test inline image code.
commit98d14b2b2a20111d68bdfbaf358da41537ea71c9 authorJesse Rosenthal <jrosenthal@jhu.edu> dateThu 7 Aug 2014, 15:34 (12 years ago) parent7bd7d4d
4 files changed+8−1
pandoc.cabal+1 tests/Tests/Readers/Docx.hs+5−1 tests/docx.inline_images.docx tests/docx.inline_images.native+2
pandoc.cabal+1
@@ -178,6 +178,7 @@ Extra-Source-Files:
178178 tests/docx.hanging_indent.docx,
179179 tests/docx.headers.docx,
180180 tests/docx.image.docx,
181+ tests/docx.inline_images.docx,
181182 tests/docx.inline_code.docx,
182183 tests/docx.inline_formatting.docx,
183184 tests/docx.links.docx,
tests/Tests/Readers/Docx.hs+5−1
@@ -107,9 +107,13 @@ tests = [ testGroup "inlines"
107107 "docx.links.docx"
108108 "docx.links.native"
109109 , testCompare
110− "inline image with reference output"
110+ "inline image"
111111 "docx.image.docx"
112112 "docx.image_no_embed.native"
113+ , testCompare
114+ "inline image in links"
115+ "docx.inline_images.docx"
116+ "docx.inline_images.native"
113117 , testCompare
114118 "handling unicode input"
115119 "docx.unicode.docx"
tests/docx.inline_images.docxnew file

Binary file not shown.

tests/docx.inline_images.nativenew file+2
@@ -0,0 +1,2 @@
1+[Para [Str "This",Space,Str "picture",Space,Image [] ("media/image1.jpg",""),Space,Str "is",Space,Str "an",Space,Str "identicon."]
2+,Para [Str "Here",Space,Str "is",Space,Link [Str "one",Space,Image [] ("media/image2.jpg",""),Space,Str "that"] ("http://www.google.com",""),Space,Str "links."]]