summaryrefslogtreecommitdiff
path: root/mammoth/options.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-01-23 16:59:56 +0000
committerMichael Williamson <mike@zwobble.org>2015-01-23 16:59:56 +0000
commitb09f43356b49922fc7c03a998f696af69a7ffb26 (patch)
treefda198242e0ab8a3f6bdf554c0799c8020c746fb /mammoth/options.py
parentadf529dacd6044515468130873c7d39a233ce6ea (diff)
Copy extra style mappings from mammoth.js
Diffstat (limited to 'mammoth/options.py')
-rw-r--r--mammoth/options.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/mammoth/options.py b/mammoth/options.py
index 9f4a180..a628069 100644
--- a/mammoth/options.py
+++ b/mammoth/options.py
@@ -27,6 +27,14 @@ p[style-name='Heading 1'] => h1:fresh
p[style-name='Heading 2'] => h2:fresh
p[style-name='Heading 3'] => h3:fresh
p[style-name='Heading 4'] => h4:fresh
+p[style-name='heading 1'] => h1:fresh
+p[style-name='heading 2'] => h2:fresh
+p[style-name='heading 3'] => h3:fresh
+p[style-name='heading 4'] => h4:fresh
+p[style-name='heading 4'] => h4:fresh
+
+p[style-name='footnote text'] => p
+
p:unordered-list(1) => ul > li:fresh
p:unordered-list(2) => ul|ol > li > ul > li:fresh
p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh