git.iko.soy/typeable/pandoc
on master help sign in
Add normalization test.
ca4add6Jesse Rosenthal
tests/Tests/Readers/Docx.hs+4
@@ -74,6 +74,10 @@ tests = [ testGroup "inlines"
74 "literal tabs"
74 "literal tabs"
75 "docx.tabs.docx"
75 "docx.tabs.docx"
76 "docx.tabs.native"
76 "docx.tabs.native"
77+ , testCompare
78+ "normalizing inlines"
79+ "docx.normalize.docx"
80+ "docx.normalize.native"
77 ]
81 ]
78 , testGroup "blocks"
82 , testGroup "blocks"
79 [ testCompare
83 [ testCompare
tests/docx.normalize.docxnew file

Binary file not shown.

tests/docx.normalize.nativenew file+2
@@ -0,0 +1,2 @@
1+[Para [Str "These",Space,Str "are",Space,Str "different",Space,Str "fonts."]
2+,Para [Strong [Str "These",Space,Emph [Str "are"]],Space,Strong [Emph [Strikeout [Str "different"]],Space,Str "fonts."]]]