git.iko.soy/typeable/pandoc
on master help sign in
Docx Reader: Create special punctuation test
commitdfd06467eadace7b37cb3ebc53c943755d0436eb authorOphir Lifshitz <hangfromthefloor@gmail.com> dateSun 4 Oct 2015, 06:08 (11 years ago) parent0b899ce
3 files changed+6
tests/Tests/Readers/Docx.hs+4 tests/docx/special_punctuation.docx tests/docx/special_punctuation.native+2
tests/Tests/Readers/Docx.hs+4
@@ -130,6 +130,10 @@ tests = [ testGroup "inlines"
130130 "literal tabs"
131131 "docx/tabs.docx"
132132 "docx/tabs.native"
133+ , testCompare
134+ "special punctuation"
135+ "docx/special_punctuation.docx"
136+ "docx/special_punctuation.native"
133137 , testCompare
134138 "normalizing inlines"
135139 "docx/normalize.docx"
tests/docx/special_punctuation.docxnew file

Binary file not shown.

tests/docx/special_punctuation.nativenew file+2
@@ -0,0 +1,2 @@
1+[Para [Str "Soft",Space,Str "hyphen:",Space,Str "[\173]"]
2+,Para [Str "Non-breaking",Space,Str "hyphen:",Space,Str "[\8209]"]]