diff options
Diffstat (limited to 'mammoth')
| -rw-r--r-- | mammoth/docx/body_xml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/docx/body_xml.py b/mammoth/docx/body_xml.py index 2e16c26..22d8440 100644 --- a/mammoth/docx/body_xml.py +++ b/mammoth/docx/body_xml.py @@ -98,7 +98,7 @@ def _create_reader(numbering, content_types, relationships, styles, docx_file, f )) def read_boolean_element(element): - return element and element.attributes.get("w:val") != "false" + return element and element.attributes.get("w:val") not in ["false", "0"] def paragraph(element): |
