aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS5
-rw-r--r--mammoth/options.py10
2 files changed, 10 insertions, 5 deletions
diff --git a/NEWS b/NEWS
index 10ac5ff..759ab96 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,8 @@
+# 1.4.6
+
+* Fix: default style mappings caused footnotes, endnotes and comments
+ containing multiple paragraphs to be converted into a single paragraph.
+
# 1.4.5
* Read the children of v:rect elements.
diff --git a/mammoth/options.py b/mammoth/options.py
index fcdba74..11a61b6 100644
--- a/mammoth/options.py
+++ b/mammoth/options.py
@@ -59,17 +59,17 @@ p[style-name='heading 6'] => h6:fresh
r[style-name='Strong'] => strong
-p[style-name='footnote text'] => p
+p[style-name='footnote text'] => p:fresh
r[style-name='footnote reference'] =>
-p[style-name='endnote text'] => p
+p[style-name='endnote text'] => p:fresh
r[style-name='endnote reference'] =>
-p[style-name='annotation text'] => p
+p[style-name='annotation text'] => p:fresh
r[style-name='annotation reference'] =>
# LibreOffice
-p[style-name='Footnote'] => p
+p[style-name='Footnote'] => p:fresh
r[style-name='Footnote anchor'] =>
-p[style-name='Endnote'] => p
+p[style-name='Endnote'] => p:fresh
r[style-name='Endnote anchor'] =>
p:unordered-list(1) => ul > li:fresh