diff options
| -rw-r--r-- | mammoth/docx/document_xml.py | 3 | ||||
| -rw-r--r-- | tests/mammoth_tests.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/mammoth/docx/document_xml.py b/mammoth/docx/document_xml.py index 125b35e..83ddcdd 100644 --- a/mammoth/docx/document_xml.py +++ b/mammoth/docx/document_xml.py @@ -31,6 +31,9 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file): "w:del", "w:pPr", "w:rPr", + "w:tblPr", + "w:tblGrid", + "w:tcPr", ]) def handler(name): diff --git a/tests/mammoth_tests.py b/tests/mammoth_tests.py index deaeb39..0b3bf0f 100644 --- a/tests/mammoth_tests.py +++ b/tests/mammoth_tests.py @@ -29,7 +29,7 @@ def simple_list_is_converted_to_list_elements(): assert_equal("<ul><li>Apple</li><li>Banana</li></ul>", result.value) -#~ @istest +@istest def word_tables_are_converted_to_html_tables(): expected_html = ("<p>Above</p>" + "<table>" + |
