diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-12-14 17:25:23 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-12-14 17:25:23 +0000 |
| commit | f5595b78f59d3f3a04c4e83702114dc2704f808a (patch) | |
| tree | bb58b9fc9fc28ac81f7d96f1c48a2cbf9f09968a /mammoth/style_reader/document_matcher_reader.py | |
| parent | a5574fbb4540ca31ab0d4c639f6cd2a633e749fc (diff) | |
Match document matchers with numbering correctly
Diffstat (limited to 'mammoth/style_reader/document_matcher_reader.py')
| -rw-r--r-- | mammoth/style_reader/document_matcher_reader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/style_reader/document_matcher_reader.py b/mammoth/style_reader/document_matcher_reader.py index fba6092..4bc7247 100644 --- a/mammoth/style_reader/document_matcher_reader.py +++ b/mammoth/style_reader/document_matcher_reader.py @@ -36,7 +36,7 @@ def _read_style_node(style_node): def _read_list_node(list_node): if list_node.children: - return documents.NumberingLevel( + return documents.numbering_level( int(list_node.children[0].children[3].text), is_ordered=list_node.children[0].children[1].text == "ordered-list", ) |
