aboutsummaryrefslogtreecommitdiff
path: root/tests/docx
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docx')
-rw-r--r--tests/docx/body_xml_tests.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/docx/body_xml_tests.py b/tests/docx/body_xml_tests.py
index 17d631d..c9863bf 100644
--- a/tests/docx/body_xml_tests.py
+++ b/tests/docx/body_xml_tests.py
@@ -539,6 +539,13 @@ def no_break_hyphen_element_is_read_as_non_breaking_hyphen_character():
@istest
+def soft_hyphen_element_is_read_as_soft_hyphen_character():
+ element = xml_element("w:softHyphen")
+ tab = _read_and_get_document_xml_element(element)
+ assert_equal(documents.text(u"\u00ad"), tab)
+
+
+@istest
class TableTests(object):
@istest
def word_table_is_read_as_document_table_element(self):