aboutsummaryrefslogtreecommitdiff
path: root/mammoth/docx
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/docx')
-rw-r--r--mammoth/docx/body_xml.py2
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):