aboutsummaryrefslogtreecommitdiff
path: root/mammoth/styles/parser/document_matcher_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'mammoth/styles/parser/document_matcher_parser.py')
-rw-r--r--mammoth/styles/parser/document_matcher_parser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mammoth/styles/parser/document_matcher_parser.py b/mammoth/styles/parser/document_matcher_parser.py
index 5f85a18..95f3359 100644
--- a/mammoth/styles/parser/document_matcher_parser.py
+++ b/mammoth/styles/parser/document_matcher_parser.py
@@ -49,7 +49,7 @@ def _parse_style_name(tokens):
tokens.skip(TokenType.SYMBOL, "=")
name = parse_string(tokens)
tokens.skip(TokenType.SYMBOL, "]")
- return name
+ return document_matchers.equal_to(name)
else:
return None