aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mammoth/options.py1
-rw-r--r--tests/mammoth_tests.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/mammoth/options.py b/mammoth/options.py
index a628069..79aec8c 100644
--- a/mammoth/options.py
+++ b/mammoth/options.py
@@ -34,6 +34,7 @@ p[style-name='heading 4'] => h4:fresh
p[style-name='heading 4'] => h4:fresh
p[style-name='footnote text'] => p
+r[style-name='footnote reference'] =>
p:unordered-list(1) => ul > li:fresh
p:unordered-list(2) => ul|ol > li > ul > li:fresh
diff --git a/tests/mammoth_tests.py b/tests/mammoth_tests.py
index 24b2cc9..2a005d1 100644
--- a/tests/mammoth_tests.py
+++ b/tests/mammoth_tests.py
@@ -68,8 +68,7 @@ def footnotes_are_appended_to_text():
with open(test_path("footnotes.docx"), "rb") as fileobj:
result = mammoth.convert_to_html(fileobj=fileobj, generate_uniquifier=lambda: 42)
- # TODO: get rid of warnings
- #~ assert_equal([], result.messages)
+ assert_equal([], result.messages)
assert_equal(expected_html, result.value)