diff --git a/tests/Tests/Readers/Docx.hs b/tests/Tests/Readers/Docx.hs index 47292bc99..7e3f1979e 100644 --- a/tests/Tests/Readers/Docx.hs +++ b/tests/Tests/Readers/Docx.hs @@ -130,6 +130,10 @@ tests = [ testGroup "inlines" "literal tabs" "docx/tabs.docx" "docx/tabs.native" + , testCompare + "special punctuation" + "docx/special_punctuation.docx" + "docx/special_punctuation.native" , testCompare "normalizing inlines" "docx/normalize.docx" diff --git a/tests/docx/special_punctuation.docx b/tests/docx/special_punctuation.docx new file mode 100644 index 000000000..8e0bb55c9 Binary files /dev/null and b/tests/docx/special_punctuation.docx differ diff --git a/tests/docx/special_punctuation.native b/tests/docx/special_punctuation.native new file mode 100644 index 000000000..304289f44 --- /dev/null +++ b/tests/docx/special_punctuation.native @@ -0,0 +1,2 @@ +[Para [Str "Soft",Space,Str "hyphen:",Space,Str "[\173]"] +,Para [Str "Non-breaking",Space,Str "hyphen:",Space,Str "[\8209]"]]