git.iko.soy/typeable/pandoc
on master help sign in
Docx reader: Test inline image code.
98d14b2Jesse Rosenthal
pandoc.cabal+1
@@ -178,6 +178,7 @@ Extra-Source-Files:
178 tests/docx.hanging_indent.docx,
178 tests/docx.hanging_indent.docx,
179 tests/docx.headers.docx,
179 tests/docx.headers.docx,
180 tests/docx.image.docx,
180 tests/docx.image.docx,
181+ tests/docx.inline_images.docx,
181 tests/docx.inline_code.docx,
182 tests/docx.inline_code.docx,
182 tests/docx.inline_formatting.docx,
183 tests/docx.inline_formatting.docx,
183 tests/docx.links.docx,
184 tests/docx.links.docx,
tests/Tests/Readers/Docx.hs+5−1
@@ -107,9 +107,13 @@ tests = [ testGroup "inlines"
107 "docx.links.docx"
107 "docx.links.docx"
108 "docx.links.native"
108 "docx.links.native"
109 , testCompare
109 , testCompare
110− "inline image with reference output"
110+ "inline image"
111 "docx.image.docx"
111 "docx.image.docx"
112 "docx.image_no_embed.native"
112 "docx.image_no_embed.native"
113+ , testCompare
114+ "inline image in links"
115+ "docx.inline_images.docx"
116+ "docx.inline_images.native"
113 , testCompare
117 , testCompare
114 "handling unicode input"
118 "handling unicode input"
115 "docx.unicode.docx"
119 "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."]]