diff options
| -rw-r--r-- | NEWS | 5 | ||||
| -rw-r--r-- | mammoth/options.py | 10 |
2 files changed, 10 insertions, 5 deletions
@@ -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 |
