aboutsummaryrefslogtreecommitdiff
path: root/mammoth
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2018-05-10 17:28:38 +0100
committerMichael Williamson <mike@zwobble.org>2018-05-10 17:28:38 +0100
commitc7fa79f49a40d6fafc70754ccbd93cf5cd364541 (patch)
tree60967c2bab905afc6f6bd9b542ccef1af72a7c35 /mammoth
parentc9686958ced83ade4e9579a95913ea22bbc38b32 (diff)
Map note/comment paragraphs to fresh HTML paragraphs
Diffstat (limited to 'mammoth')
-rw-r--r--mammoth/options.py10
1 files changed, 5 insertions, 5 deletions
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