diff options
Diffstat (limited to 'mammoth/docx/document_xml.py')
| -rw-r--r-- | mammoth/docx/document_xml.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mammoth/docx/document_xml.py b/mammoth/docx/document_xml.py index c3fb1b7..6488a25 100644 --- a/mammoth/docx/document_xml.py +++ b/mammoth/docx/document_xml.py @@ -26,7 +26,13 @@ def _create_reader(numbering): style_name = properties \ .find_child_or_null("w:rStyle") \ .attributes.get("w:val") - return documents.run(_read_xml_elements(element.children), style_name) + is_bold = properties.find_child("w:b") + + return documents.run( + children=_read_xml_elements(element.children), + style_name=style_name, + is_bold=is_bold, + ) @handler("w:p") |
